#[repr(transparent)]pub struct AttrList { /* private fields */ }Implementations
sourceimpl AttrList
impl AttrList
pub fn new() -> AttrList
pub fn copy(&self) -> Option<AttrList>
pub fn filter<P: FnMut(&Attribute) -> bool>(&self, func: P) -> Option<AttrList>
pub fn attributes(&self) -> Vec<Attribute>
pub fn iterator(&self) -> Option<AttrIterator>
pub fn splice(&self, other: &AttrList, pos: i32, len: i32)
pub fn update(&self, pos: i32, remove: i32, add: i32)
Trait Implementations
sourceimpl StaticType for AttrList
impl StaticType for AttrList
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self.
impl Eq for AttrList
Auto Trait Implementations
impl RefUnwindSafe for AttrList
impl !Send for AttrList
impl !Sync for AttrList
impl Unpin for AttrList
impl UnwindSafe for AttrList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more