Struct raui_core::widget::unit::image::ImageBox [−][src]
pub struct ImageBox {
pub id: WidgetId,
pub width: ImageBoxSizeValue,
pub height: ImageBoxSizeValue,
pub content_keep_aspect_ratio: Option<ImageBoxAspectRatio>,
pub material: ImageBoxMaterial,
pub transform: Transform,
}Fields
id: WidgetIdwidth: ImageBoxSizeValueheight: ImageBoxSizeValuecontent_keep_aspect_ratio: Option<ImageBoxAspectRatio>material: ImageBoxMaterialtransform: TransformTrait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ImageBoximpl UnwindSafe for ImageBoxBlanket Implementations
Mutably borrows from an owned value. Read more