pub struct DockWindowPlacement {
pub width: u32,
pub height: u32,
pub x: Option<i32>,
pub y: Option<i32>,
pub monitor_hint: Option<String>,
}Fields§
§width: u32§height: u32§x: Option<i32>§y: Option<i32>§monitor_hint: Option<String>Trait Implementations§
Source§impl Clone for DockWindowPlacement
impl Clone for DockWindowPlacement
Source§fn clone(&self) -> DockWindowPlacement
fn clone(&self) -> DockWindowPlacement
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 DockWindowPlacement
impl Debug for DockWindowPlacement
Source§impl<'de> Deserialize<'de> for DockWindowPlacement
impl<'de> Deserialize<'de> for DockWindowPlacement
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DockWindowPlacement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DockWindowPlacement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DockWindowPlacement
impl Serialize for DockWindowPlacement
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
Auto Trait Implementations§
impl Freeze for DockWindowPlacement
impl RefUnwindSafe for DockWindowPlacement
impl Send for DockWindowPlacement
impl Sync for DockWindowPlacement
impl Unpin for DockWindowPlacement
impl UnsafeUnpin for DockWindowPlacement
impl UnwindSafe for DockWindowPlacement
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