pub struct NodeCore {
pub client: Arc<ClientHandle>,
pub id: u64,
/* private fields */
}Fields§
§client: Arc<ClientHandle>§id: u64Trait Implementations§
Source§impl NodeType for NodeCore
impl NodeType for NodeCore
Source§impl OwnedAspect for NodeCore
impl OwnedAspect for NodeCore
Source§fn set_enabled(&self, enabled: bool) -> NodeResult<()>
fn set_enabled(&self, enabled: bool) -> NodeResult<()>
Set if this node is enabled or not. Disabled drawables won’t render, input handlers won’t receive input, etc.
Source§fn destroy(&self) -> NodeResult<()>
fn destroy(&self) -> NodeResult<()>
Destroy this node immediately. Not all nodes will have this method, those that don’t can be dropped client-side without issue.
Auto Trait Implementations§
impl Freeze for NodeCore
impl !RefUnwindSafe for NodeCore
impl Send for NodeCore
impl Sync for NodeCore
impl Unpin for NodeCore
impl !UnwindSafe for NodeCore
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