Struct oxygengine_user_interface::widget::component::image_box::ImageBoxProps [−][src]
pub struct ImageBoxProps {
pub width: ImageBoxSizeValue,
pub height: ImageBoxSizeValue,
pub content_keep_aspect_ratio: Option<ImageBoxAspectRatio>,
pub material: ImageBoxMaterial,
pub transform: Transform,
}Fields
width: ImageBoxSizeValueheight: ImageBoxSizeValuecontent_keep_aspect_ratio: Option<ImageBoxAspectRatio>material: ImageBoxMaterialtransform: TransformTrait Implementations
impl Clone for ImageBoxProps[src]
impl Clone for ImageBoxProps[src]pub fn clone(&self) -> ImageBoxProps[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for ImageBoxProps[src]
impl Default for ImageBoxProps[src]pub fn default() -> ImageBoxProps[src]
impl<'de> Deserialize<'de> for ImageBoxProps[src]
impl<'de> Deserialize<'de> for ImageBoxProps[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ImageBoxProps, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
__deserializer: __D
) -> Result<ImageBoxProps, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Prefab for ImageBoxProps[src]
impl Prefab for ImageBoxProps[src]pub fn from_prefab(data: Value) -> Result<Self, PrefabError>[src]
pub fn to_prefab(&self) -> Result<Value, PrefabError>[src]
impl PropsData for ImageBoxProps where
ImageBoxProps: Clone, [src]
impl PropsData for ImageBoxProps where
ImageBoxProps: Clone, [src]impl Serialize for ImageBoxProps[src]
impl Serialize for ImageBoxProps[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for ImageBoxProps
impl RefUnwindSafe for ImageBoxPropsimpl Send for ImageBoxProps
impl Send for ImageBoxPropsimpl Sync for ImageBoxProps
impl Sync for ImageBoxPropsimpl Unpin for ImageBoxProps
impl Unpin for ImageBoxPropsimpl UnwindSafe for ImageBoxProps
impl UnwindSafe for ImageBoxPropsBlanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeId
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]impl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default,