pub(crate) struct SubtreeState {
pub(crate) root: NodeId,
pub(crate) focus: NodeId,
}Expand description
State for a subtree, including its root node and current focus.
Fields§
§root: NodeId§focus: NodeIdTrait Implementations§
Source§impl Clone for SubtreeState
impl Clone for SubtreeState
Source§fn clone(&self) -> SubtreeState
fn clone(&self) -> SubtreeState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SubtreeState
impl RefUnwindSafe for SubtreeState
impl Send for SubtreeState
impl Sync for SubtreeState
impl Unpin for SubtreeState
impl UnwindSafe for SubtreeState
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