pub enum ImageBoxSizeValue {
Fill,
Exact(Scalar),
}
Variants§
Trait Implementations§
source§impl Clone for ImageBoxSizeValue
impl Clone for ImageBoxSizeValue
source§fn clone(&self) -> ImageBoxSizeValue
fn clone(&self) -> ImageBoxSizeValue
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 ImageBoxSizeValue
impl Debug for ImageBoxSizeValue
source§impl Default for ImageBoxSizeValue
impl Default for ImageBoxSizeValue
source§fn default() -> ImageBoxSizeValue
fn default() -> ImageBoxSizeValue
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ImageBoxSizeValue
impl<'de> Deserialize<'de> for ImageBoxSizeValue
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 ImageBoxSizeValue
impl Serialize for ImageBoxSizeValue
impl Copy for ImageBoxSizeValue
Auto Trait Implementations§
impl Freeze for ImageBoxSizeValue
impl RefUnwindSafe for ImageBoxSizeValue
impl Send for ImageBoxSizeValue
impl Sync for ImageBoxSizeValue
impl Unpin for ImageBoxSizeValue
impl UnwindSafe for ImageBoxSizeValue
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
)