pub struct SiteNode {
pub name: String,
pub parent: Option<usize>,
pub children: Vec<usize>,
pub kind: SiteNodeKind,
}Fields§
§name: StringUnique name within children of node
parent: Option<usize>§children: Vec<usize>§kind: SiteNodeKindImplementations§
Source§impl SiteNode
impl SiteNode
pub fn stylesheet( name: impl Into<String>, parent: usize, stylesheet: Stylesheet, ) -> SiteNode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SiteNode
impl !RefUnwindSafe for SiteNode
impl !Send for SiteNode
impl !Sync for SiteNode
impl Unpin for SiteNode
impl !UnwindSafe for SiteNode
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