pub struct Meta {
pub hdlr: Hdlr,
pub items: Vec<Any>,
}Fields§
§hdlr: Hdlr§items: Vec<Any>Implementations§
Source§impl Meta
impl Meta
Sourcepub fn get<T: MetaAtom>(&self) -> Option<&T>
pub fn get<T: MetaAtom>(&self) -> Option<&T>
A helper to get a common meta atom from the items vec.
Sourcepub fn get_mut<T: MetaAtom>(&mut self) -> Option<&mut T>
pub fn get_mut<T: MetaAtom>(&mut self) -> Option<&mut T>
A helper to get a common meta atom from the items vec.
Trait Implementations§
impl Eq for Meta
impl StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnwindSafe for Meta
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