pub struct Tag {
pub meta: NodeMeta,
pub name: String,
}Expand description
A tag: # and a name, such as #rust or #ai/agents.
Fields§
§meta: NodeMetaNode metadata (source span).
name: StringThe name as written, without the #. A / separates levels, which
the caller splits.
Implementations§
Trait Implementations§
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin for Tag
impl UnwindSafe for Tag
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