pub struct Shadow { /* private fields */ }Implementations§
Source§impl Shadow
impl Shadow
pub fn get_on(&self) -> &bool
pub fn set_on(&mut self, value: bool) -> &mut Self
pub fn get_color(&self) -> &str
pub fn set_color<S: Into<String>>(&mut self, value: S) -> &mut Self
pub fn get_obscured(&self) -> &bool
pub fn set_obscured(&mut self, value: bool) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shadow
impl RefUnwindSafe for Shadow
impl Send for Shadow
impl Sync for Shadow
impl Unpin for Shadow
impl UnwindSafe for Shadow
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