pub struct ThemedImage {
pub light: &'static str,
pub dark: &'static str,
}Expand description
A themed image with light and dark variants.
Fields§
§light: &'static strURL for the light theme logo.
dark: &'static strURL for the dark theme logo.
Trait Implementations§
Source§impl Clone for ThemedImage
impl Clone for ThemedImage
Source§fn clone(&self) -> ThemedImage
fn clone(&self) -> ThemedImage
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 ThemedImage
impl RefUnwindSafe for ThemedImage
impl Send for ThemedImage
impl Sync for ThemedImage
impl Unpin for ThemedImage
impl UnsafeUnpin for ThemedImage
impl UnwindSafe for ThemedImage
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