pub struct WorkAreaInsets {
pub top: Option<i64>,
pub left: Option<i64>,
pub bottom: Option<i64>,
pub right: Option<i64>,
}Fields§
§top: Option<i64>Work area top inset in pixels. Default is 0;
left: Option<i64>Work area left inset in pixels. Default is 0;
bottom: Option<i64>Work area bottom inset in pixels. Default is 0;
right: Option<i64>Work area right inset in pixels. Default is 0;
Implementations§
Source§impl WorkAreaInsets
impl WorkAreaInsets
pub fn builder() -> WorkAreaInsetsBuilder
Source§impl WorkAreaInsets
impl WorkAreaInsets
pub const IDENTIFIER: &'static str = "Emulation.WorkAreaInsets"
Trait Implementations§
Source§impl Clone for WorkAreaInsets
impl Clone for WorkAreaInsets
Source§fn clone(&self) -> WorkAreaInsets
fn clone(&self) -> WorkAreaInsets
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 WorkAreaInsets
impl Debug for WorkAreaInsets
Source§impl Default for WorkAreaInsets
impl Default for WorkAreaInsets
Source§fn default() -> WorkAreaInsets
fn default() -> WorkAreaInsets
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkAreaInsets
impl<'de> Deserialize<'de> for WorkAreaInsets
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkAreaInsets, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkAreaInsets, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WorkAreaInsets
impl PartialEq for WorkAreaInsets
Source§impl Serialize for WorkAreaInsets
impl Serialize for WorkAreaInsets
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for WorkAreaInsets
Auto Trait Implementations§
impl Freeze for WorkAreaInsets
impl RefUnwindSafe for WorkAreaInsets
impl Send for WorkAreaInsets
impl Sync for WorkAreaInsets
impl Unpin for WorkAreaInsets
impl UnsafeUnpin for WorkAreaInsets
impl UnwindSafe for WorkAreaInsets
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