pub struct NodeState { /* private fields */ }Expand description
Runtime state tracked for every ModifierNode.
This type is part of the internal node system API and should not be directly constructed or manipulated by external code. Modifier nodes automatically receive and manage their NodeState through the modifier chain infrastructure.
Implementations§
Source§impl NodeState
impl NodeState
pub const fn new() -> Self
pub const fn sentinel() -> Self
pub fn set_capabilities(&self, capabilities: NodeCapabilities)
pub fn capabilities(&self) -> NodeCapabilities
pub fn set_aggregate_child_capabilities(&self, capabilities: NodeCapabilities)
pub fn aggregate_child_capabilities(&self) -> NodeCapabilities
pub fn set_attached(&self, attached: bool)
pub fn is_attached(&self) -> bool
pub fn is_sentinel(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for NodeState
impl !RefUnwindSafe for NodeState
impl Send for NodeState
impl !Sync for NodeState
impl Unpin for NodeState
impl UnwindSafe for NodeState
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