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 Freeze for Attributes
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnsafeUnpin for Attributes
impl UnwindSafe for Attributes
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