Struct Config
pub struct Config;Expand description
Write-access helper for the UI configuration.
Implementations§
§impl Config
impl Config
pub fn new() -> Self
pub fn new() -> Self
Creates a new configuration write-access helper.
pub fn scene(&self) -> SceneConfig
pub fn scene(&self) -> SceneConfig
Access the scene configuration.
pub fn logo(&self, value: &str) -> Instruction
pub fn logo(&self, value: &str) -> Instruction
Sets the logo shown in the corner of the screen.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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