pub struct InsetsScheme {
pub raw_inset_top: Option<u32>,
pub raw_inset_bottom: Option<u32>,
pub raw_inset_left: Option<u32>,
pub raw_inset_right: Option<u32>,
pub adjusted_inset_top: Option<u32>,
pub adjusted_inset_bottom: Option<u32>,
pub adjusted_inset_left: Option<u32>,
pub adjusted_inset_right: Option<u32>,
pub scale_factor: Option<f64>,
}Fields§
§raw_inset_top: Option<u32>§raw_inset_bottom: Option<u32>§raw_inset_left: Option<u32>§raw_inset_right: Option<u32>§adjusted_inset_top: Option<u32>§adjusted_inset_bottom: Option<u32>§adjusted_inset_left: Option<u32>§adjusted_inset_right: Option<u32>§scale_factor: Option<f64>Trait Implementations§
Source§impl Clone for InsetsScheme
impl Clone for InsetsScheme
Source§fn clone(&self) -> InsetsScheme
fn clone(&self) -> InsetsScheme
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 InsetsScheme
impl Debug for InsetsScheme
Source§impl Default for InsetsScheme
impl Default for InsetsScheme
Source§fn default() -> InsetsScheme
fn default() -> InsetsScheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InsetsScheme
impl<'de> Deserialize<'de> for InsetsScheme
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
Auto Trait Implementations§
impl Freeze for InsetsScheme
impl RefUnwindSafe for InsetsScheme
impl Send for InsetsScheme
impl Sync for InsetsScheme
impl Unpin for InsetsScheme
impl UnwindSafe for InsetsScheme
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