pub enum BaseTheme {
Classic,
Day,
Night,
Tinted,
Arctic,
}Expand description
Variants§
Trait Implementations§
Source§impl Deserializable for BaseTheme
impl Deserializable for BaseTheme
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<BaseThemeArctic> for BaseTheme
impl From<BaseThemeArctic> for BaseTheme
Source§fn from(_x: BaseThemeArctic) -> Self
fn from(_x: BaseThemeArctic) -> Self
Converts to this type from the input type.
Source§impl From<BaseThemeClassic> for BaseTheme
impl From<BaseThemeClassic> for BaseTheme
Source§fn from(_x: BaseThemeClassic) -> Self
fn from(_x: BaseThemeClassic) -> Self
Converts to this type from the input type.
Source§impl From<BaseThemeDay> for BaseTheme
impl From<BaseThemeDay> for BaseTheme
Source§fn from(_x: BaseThemeDay) -> Self
fn from(_x: BaseThemeDay) -> Self
Converts to this type from the input type.
Source§impl From<BaseThemeNight> for BaseTheme
impl From<BaseThemeNight> for BaseTheme
Source§fn from(_x: BaseThemeNight) -> Self
fn from(_x: BaseThemeNight) -> Self
Converts to this type from the input type.
Source§impl From<BaseThemeTinted> for BaseTheme
impl From<BaseThemeTinted> for BaseTheme
Source§fn from(_x: BaseThemeTinted) -> Self
fn from(_x: BaseThemeTinted) -> Self
Converts to this type from the input type.
Source§impl Serializable for BaseTheme
impl Serializable for BaseTheme
impl StructuralPartialEq for BaseTheme
Auto Trait Implementations§
impl Freeze for BaseTheme
impl RefUnwindSafe for BaseTheme
impl Send for BaseTheme
impl Sync for BaseTheme
impl Unpin for BaseTheme
impl UnsafeUnpin for BaseTheme
impl UnwindSafe for BaseTheme
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