pub struct AttributeShorthands(/* private fields */);Expand description
Attribute shorthands
Implementations§
Source§impl AttributeShorthands
impl AttributeShorthands
pub fn new() -> Self
pub fn get(&self, name: &Identifier) -> Option<&AttributeShorthand>
pub fn add(&mut self, shorthand: AttributeShorthand)
pub fn iter(&self) -> impl Iterator<Item = &AttributeShorthand>
pub fn into_iter(self) -> impl Iterator<Item = AttributeShorthand>
Trait Implementations§
Source§impl Debug for AttributeShorthands
impl Debug for AttributeShorthands
Source§impl PartialEq for AttributeShorthands
impl PartialEq for AttributeShorthands
impl Eq for AttributeShorthands
impl StructuralPartialEq for AttributeShorthands
Auto Trait Implementations§
impl Freeze for AttributeShorthands
impl RefUnwindSafe for AttributeShorthands
impl Send for AttributeShorthands
impl Sync for AttributeShorthands
impl Unpin for AttributeShorthands
impl UnwindSafe for AttributeShorthands
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