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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)