Struct fuchsia_scenic::View
source · pub struct View { /* private fields */ }
Implementations§
source§impl View
impl View
pub fn new( session: SessionPtr, token: ViewToken, debug_name: Option<String> ) -> View
sourcepub fn new3(
session: SessionPtr,
token: ViewToken,
control_ref: ViewRefControl,
view_ref: ViewRef,
debug_name: Option<String>
) -> View
pub fn new3( session: SessionPtr, token: ViewToken, control_ref: ViewRefControl, view_ref: ViewRef, debug_name: Option<String> ) -> View
Creates a new view using the ViewArgs3 resource which allows the user to use view_refs.
pub fn id(&self) -> u32
pub fn add_child(&self, child: &Node)
pub fn detach_child(&self, child: &Node)
pub fn detach_children(&self)
Auto Trait Implementations§
impl !RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl !UnwindSafe for View
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