pub struct Backgrounds {
pub layer_1: Option<Background>,
pub layer_2: Option<Background>,
}
Expand description
Background although it’s simply a list of layers the number of layers is predefined and has special meaning from a UI perspective
Fields§
§layer_1: Option<Background>
Layer 1
layer_2: Option<Background>
Layer 2
Trait Implementations§
Source§impl Clone for Backgrounds
impl Clone for Backgrounds
Source§fn clone(&self) -> Backgrounds
fn clone(&self) -> Backgrounds
Returns a copy 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 moreSource§impl Debug for Backgrounds
impl Debug for Backgrounds
Source§impl Default for Backgrounds
impl Default for Backgrounds
Source§fn default() -> Backgrounds
fn default() -> Backgrounds
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Backgrounds
impl<'de> Deserialize<'de> for Backgrounds
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Backgrounds
impl RefUnwindSafe for Backgrounds
impl Send for Backgrounds
impl Sync for Backgrounds
impl Unpin for Backgrounds
impl UnwindSafe for Backgrounds
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