Struct reveal_yaml::project::ImgBackground
source · pub struct ImgBackground {
pub src: String,
pub size: Stringify,
pub position: String,
pub repeat: String,
pub opacity: Stringify,
}
Expand description
Image backgrounds setting.
Fields§
§src: String
Background source.
size: Stringify
Background size.
position: String
Background position.
repeat: String
Background repeat. (repeat / no-repeat)
opacity: Stringify
Background opacity from zero to one.
Trait Implementations§
source§impl Default for ImgBackground
impl Default for ImgBackground
source§fn default() -> ImgBackground
fn default() -> ImgBackground
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ImgBackgroundwhere
ImgBackground: Default,
impl<'de> Deserialize<'de> for ImgBackgroundwhere
ImgBackground: Default,
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