Struct oxygengine_composite_renderer::composite_renderer::Image [−][src]
pub struct Image<'a> {
pub image: Cow<'a, str>,
pub source: Option<Rect>,
pub destination: Option<Rect>,
pub alignment: Vec2,
}Fields
image: Cow<'a, str>source: Option<Rect>destination: Option<Rect>alignment: Vec2Implementations
Trait Implementations
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<'a> RefUnwindSafe for Image<'a>
impl<'a> UnwindSafe for Image<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more