pub struct AreaNode {
pub area: Area,
pub parent: Option<AreaId>,
pub first_child: Option<AreaId>,
pub next_sibling: Option<AreaId>,
}Expand description
A node in the area tree
Fields§
§area: AreaThe area data
parent: Option<AreaId>Parent area ID
first_child: Option<AreaId>First child area ID
next_sibling: Option<AreaId>Next sibling area ID
Implementations§
Auto Trait Implementations§
impl Freeze for AreaNode
impl RefUnwindSafe for AreaNode
impl Send for AreaNode
impl Sync for AreaNode
impl Unpin for AreaNode
impl UnsafeUnpin for AreaNode
impl UnwindSafe for AreaNode
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more