pub struct RootNode { /* private fields */ }Expand description
root node for arkui
let mut root = RootNode::new();
Implementations§
Source§impl RootNode
impl RootNode
pub fn new(handle: ArkUIHandle) -> Self
pub fn handle(&self) -> &ArkUIHandle
pub fn mount<T: Into<ArkUINode>>(&mut self, node: T) -> ArkUIResult<()>
pub fn unmount(&mut self) -> ArkUIResult<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RootNode
impl !RefUnwindSafe for RootNode
impl !Send for RootNode
impl !Sync for RootNode
impl Unpin for RootNode
impl UnsafeUnpin for RootNode
impl !UnwindSafe for RootNode
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