pub struct MetaItem<'a> {
pub name: &'a str,
pub value: TermId,
}
Expand description
A metadata item.
Fields§
§name: &'a str
Name of the metadata item.
value: TermId
Value of the metadata item.
Trait Implementations§
impl<'a> Copy for MetaItem<'a>
impl<'a> Eq for MetaItem<'a>
impl<'a> StructuralPartialEq for MetaItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for MetaItem<'a>
impl<'a> RefUnwindSafe for MetaItem<'a>
impl<'a> Send for MetaItem<'a>
impl<'a> Sync for MetaItem<'a>
impl<'a> Unpin for MetaItem<'a>
impl<'a> UnwindSafe for MetaItem<'a>
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