Struct fuchsia_scenic::Node
source · pub struct Node { /* private fields */ }
Implementations§
source§impl Node
impl Node
pub fn id(&self) -> u32
pub fn resource(&self) -> &Resource
pub fn set_translation(&self, x: f32, y: f32, z: f32)
pub fn set_scale(&self, x: f32, y: f32, z: f32)
pub fn set_rotation(&self, x: f32, y: f32, z: f32, w: f32)
pub fn set_anchor(&self, x: f32, y: f32, z: f32)
pub fn detach(&self)
Auto Trait Implementations§
impl !RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl !UnwindSafe for Node
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