pub struct Attributes { /* private fields */ }Implementations§
Source§impl Attributes
impl Attributes
pub fn insert(&mut self, attribute: TypeAttribute) -> bool
pub fn contains(&self, attribute: &TypeAttribute) -> bool
pub fn require_comparable_argument(&mut self, position: usize)
pub fn requires_comparable_argument(&self, position: usize) -> bool
Trait Implementations§
Source§impl Clone for Attributes
impl Clone for Attributes
Source§impl Debug for Attributes
impl Debug for Attributes
Source§impl Default for Attributes
impl Default for Attributes
impl Eq for Attributes
Source§impl PartialEq for Attributes
impl PartialEq for Attributes
impl StructuralPartialEq for Attributes
Auto Trait Implementations§
impl Forget for Attributes
impl Freeze for Attributes
impl Move for Attributes
impl RefUnwindSafe for Attributes
impl Send for Attributeswhere
RawVecInner: Send,
impl Sync for Attributeswhere
RawVecInner: Sync,
impl Unpin for Attributes
impl UnsafeUnpin for Attributes
impl UnwindSafe for Attributeswhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more