pub struct SceneLayer {
pub id: LayerId,
pub name: String,
pub visible: bool,
pub z_order: i32,
pub opaque: bool,
pub cast_shadows: bool,
pub receive_shadows: bool,
}Expand description
A render/logic layer controlling visibility and sort order.
Fields§
§id: LayerId§name: String§visible: bool§z_order: i32§opaque: bool§cast_shadows: bool§receive_shadows: boolImplementations§
Trait Implementations§
Source§impl Clone for SceneLayer
impl Clone for SceneLayer
Source§fn clone(&self) -> SceneLayer
fn clone(&self) -> SceneLayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SceneLayer
impl RefUnwindSafe for SceneLayer
impl Send for SceneLayer
impl Sync for SceneLayer
impl Unpin for SceneLayer
impl UnsafeUnpin for SceneLayer
impl UnwindSafe for SceneLayer
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