Struct SceneConfig
pub struct SceneConfig { /* private fields */ }Expand description
Write-access helper for the scene configuration.
Implementations§
§impl SceneConfig
impl SceneConfig
pub fn grid(&self) -> GridConfig
pub fn grid(&self) -> GridConfig
Access the scene grid configuration.
pub fn color(&self, value: &str) -> Instruction
pub fn color(&self, value: &str) -> Instruction
Sets the scene background color.
Trait Implementations§
§impl Clone for SceneConfig
impl Clone for SceneConfig
§fn clone(&self) -> SceneConfig
fn clone(&self) -> SceneConfig
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 SceneConfig
impl RefUnwindSafe for SceneConfig
impl Send for SceneConfig
impl Sync for SceneConfig
impl Unpin for SceneConfig
impl UnwindSafe for SceneConfig
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