#[repr(i32)]pub enum ELEMENT_CONTENT_PREFERENCE {
SOLID = 12,
FILL = 14,
FIT = 15,
TILE = 16,
STRETCH = 17,
HATCH = 18,
}Variants§
SOLID = 12
Fills the element with a solid color.
FILL = 14
Fills the element with a solid color or gradient (similar to FILL).
FIT = 15
Scales the content to fit within the element’s bounds, maintaining aspect ratio.
TILE = 16
Tiles the content within the element’s bounds.
STRETCH = 17
Stretches the content to fill the element’s bounds, potentially distorting aspect ratio.
HATCH = 18
Fills the element with a hatch pattern.
Trait Implementations§
Source§impl Clone for ELEMENT_CONTENT_PREFERENCE
impl Clone for ELEMENT_CONTENT_PREFERENCE
Source§fn clone(&self) -> ELEMENT_CONTENT_PREFERENCE
fn clone(&self) -> ELEMENT_CONTENT_PREFERENCE
Returns a duplicate 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 ELEMENT_CONTENT_PREFERENCE
impl Debug for ELEMENT_CONTENT_PREFERENCE
Source§impl<'de> Deserialize<'de> for ELEMENT_CONTENT_PREFERENCE
impl<'de> Deserialize<'de> for ELEMENT_CONTENT_PREFERENCE
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 Hash for ELEMENT_CONTENT_PREFERENCE
impl Hash for ELEMENT_CONTENT_PREFERENCE
impl Copy for ELEMENT_CONTENT_PREFERENCE
impl Eq for ELEMENT_CONTENT_PREFERENCE
impl StructuralPartialEq for ELEMENT_CONTENT_PREFERENCE
Auto Trait Implementations§
impl Freeze for ELEMENT_CONTENT_PREFERENCE
impl RefUnwindSafe for ELEMENT_CONTENT_PREFERENCE
impl Send for ELEMENT_CONTENT_PREFERENCE
impl Sync for ELEMENT_CONTENT_PREFERENCE
impl Unpin for ELEMENT_CONTENT_PREFERENCE
impl UnsafeUnpin for ELEMENT_CONTENT_PREFERENCE
impl UnwindSafe for ELEMENT_CONTENT_PREFERENCE
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