pub struct ModuleImage {
pub path: String,
pub show_image: bool,
pub show_fade: bool,
pub height: i32,
}Expand description
Header/banner image for the installer.
Fields§
§path: String§show_image: bool§show_fade: bool§height: i32Trait Implementations§
Source§impl Clone for ModuleImage
impl Clone for ModuleImage
Source§fn clone(&self) -> ModuleImage
fn clone(&self) -> ModuleImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModuleImage
impl Debug for ModuleImage
Source§impl<'de> Deserialize<'de> for ModuleImage
impl<'de> Deserialize<'de> for ModuleImage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ModuleImage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ModuleImage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ModuleImage
impl Serialize for ModuleImage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ModuleImage
impl RefUnwindSafe for ModuleImage
impl Send for ModuleImage
impl Sync for ModuleImage
impl Unpin for ModuleImage
impl UnsafeUnpin for ModuleImage
impl UnwindSafe for ModuleImage
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