Struct oxygengine_user_interface::widget::unit::image::ImageBoxFrame [−][src]
pub struct ImageBoxFrame {
pub source: Rect,
pub destination: Rect,
pub frame_only: bool,
pub frame_keep_aspect_ratio: bool,
}Fields
source: Rectdestination: Rectframe_only: boolframe_keep_aspect_ratio: boolTrait Implementations
impl Clone for ImageBoxFrame[src]
impl Clone for ImageBoxFrame[src]pub fn clone(&self) -> ImageBoxFrame[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for ImageBoxFrame[src]
impl Default for ImageBoxFrame[src]pub fn default() -> ImageBoxFrame[src]
impl<'de> Deserialize<'de> for ImageBoxFrame[src]
impl<'de> Deserialize<'de> for ImageBoxFrame[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ImageBoxFrame, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
__deserializer: __D
) -> Result<ImageBoxFrame, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<f32> for ImageBoxFrame[src]
impl From<f32> for ImageBoxFrame[src]pub fn from(v: f32) -> ImageBoxFrame[src]
impl Serialize for ImageBoxFrame[src]
impl Serialize for ImageBoxFrame[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 ImageBoxFrame
impl RefUnwindSafe for ImageBoxFrameimpl Send for ImageBoxFrame
impl Send for ImageBoxFrameimpl Sync for ImageBoxFrame
impl Sync for ImageBoxFrameimpl Unpin for ImageBoxFrame
impl Unpin for ImageBoxFrameimpl UnwindSafe for ImageBoxFrame
impl UnwindSafe for ImageBoxFrameBlanket 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,