Struct fuchsia_scenic::Scene
source · pub struct Scene { /* private fields */ }
Implementations§
source§impl Scene
impl Scene
pub fn new(session: SessionPtr) -> Scene
pub fn id(&self) -> u32
pub fn add_child(&self, child: &Node)
pub fn add_directional_light(&self, light: &DirectionalLight)
pub fn add_ambient_light(&self, light: &AmbientLight)
pub fn add_point_light(&self, light: &PointLight)
pub fn detach_lights(&self)
pub fn set_scale(&self, x: f32, y: f32, z: f32)
Auto Trait Implementations§
impl !RefUnwindSafe for Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl !UnwindSafe for Scene
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