pub struct ImageBoxAspectRatio {
pub horizontal_alignment: Scalar,
pub vertical_alignment: Scalar,
pub outside: bool,
}
Fields§
§horizontal_alignment: Scalar
§vertical_alignment: Scalar
§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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ImageBoxAspectRatio
impl Serialize for ImageBoxAspectRatio
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
)