pub struct ImageBoxAspectRatio {
pub horizontal_alignment: f32,
pub vertical_alignment: f32,
pub outside: bool,
}
Fields§
§horizontal_alignment: f32
§vertical_alignment: f32
§outside: bool
Trait Implementations§
Source§impl Clone for ImageBoxAspectRatio
impl Clone for ImageBoxAspectRatio
Source§fn clone(&self) -> ImageBoxAspectRatio
fn clone(&self) -> ImageBoxAspectRatio
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImageBoxAspectRatio
impl Debug for ImageBoxAspectRatio
Source§impl Default for ImageBoxAspectRatio
impl Default for ImageBoxAspectRatio
Source§fn default() -> ImageBoxAspectRatio
fn default() -> ImageBoxAspectRatio
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageBoxAspectRatio
impl<'de> Deserialize<'de> for ImageBoxAspectRatio
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ImageBoxAspectRatio, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ImageBoxAspectRatio, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ImageBoxAspectRatio
impl Serialize for ImageBoxAspectRatio
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ImageBoxAspectRatio
Auto Trait Implementations§
impl Freeze for ImageBoxAspectRatio
impl RefUnwindSafe for ImageBoxAspectRatio
impl Send for ImageBoxAspectRatio
impl Sync for ImageBoxAspectRatio
impl Unpin for ImageBoxAspectRatio
impl UnwindSafe for ImageBoxAspectRatio
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more