Struct fuchsia_scenic::ViewHolder
source · pub struct ViewHolder(/* private fields */);
Implementations§
source§impl ViewHolder
impl ViewHolder
pub fn new( session: SessionPtr, token: ViewHolderToken, debug_name: Option<String> ) -> ViewHolder
pub fn set_view_properties(&self, view_properties: ViewProperties)
pub fn set_event_mask(&self, event_mask: u32)
Methods from Deref<Target = 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)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ViewHolder
impl Send for ViewHolder
impl Sync for ViewHolder
impl Unpin for ViewHolder
impl !UnwindSafe for ViewHolder
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