pub struct ContentBoxItemPreserveInBounds {
pub width: bool,
pub height: bool,
}
Fields§
§width: bool
§height: bool
Trait Implementations§
source§impl Clone for ContentBoxItemPreserveInBounds
impl Clone for ContentBoxItemPreserveInBounds
source§fn clone(&self) -> ContentBoxItemPreserveInBounds
fn clone(&self) -> ContentBoxItemPreserveInBounds
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 Default for ContentBoxItemPreserveInBounds
impl Default for ContentBoxItemPreserveInBounds
source§fn default() -> ContentBoxItemPreserveInBounds
fn default() -> ContentBoxItemPreserveInBounds
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ContentBoxItemPreserveInBounds
impl<'de> Deserialize<'de> for ContentBoxItemPreserveInBounds
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 From<bool> for ContentBoxItemPreserveInBounds
impl From<bool> for ContentBoxItemPreserveInBounds
source§impl PartialEq for ContentBoxItemPreserveInBounds
impl PartialEq for ContentBoxItemPreserveInBounds
source§fn eq(&self, other: &ContentBoxItemPreserveInBounds) -> bool
fn eq(&self, other: &ContentBoxItemPreserveInBounds) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for ContentBoxItemPreserveInBounds
impl Eq for ContentBoxItemPreserveInBounds
impl StructuralPartialEq for ContentBoxItemPreserveInBounds
Auto Trait Implementations§
impl Freeze for ContentBoxItemPreserveInBounds
impl RefUnwindSafe for ContentBoxItemPreserveInBounds
impl Send for ContentBoxItemPreserveInBounds
impl Sync for ContentBoxItemPreserveInBounds
impl Unpin for ContentBoxItemPreserveInBounds
impl UnwindSafe for ContentBoxItemPreserveInBounds
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
)