pub struct PaneGeometry {
pub sidebar_pct: u16,
pub bottom_pct: u16,
pub agent_pct: u16,
/* private fields */
}Expand description
Persisted pane percentages. Kept in the workspace crate so session persistence does not make the state crate depend on the UI crate.
Fields§
§bottom_pct: u16§agent_pct: u16Implementations§
Trait Implementations§
Source§impl Clone for PaneGeometry
impl Clone for PaneGeometry
Source§fn clone(&self) -> PaneGeometry
fn clone(&self) -> PaneGeometry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaneGeometry
impl Debug for PaneGeometry
Source§impl Default for PaneGeometry
impl Default for PaneGeometry
Source§impl<'de> Deserialize<'de> for PaneGeometrywhere
PaneGeometry: Default,
impl<'de> Deserialize<'de> for PaneGeometrywhere
PaneGeometry: Default,
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 PartialEq for PaneGeometry
impl PartialEq for PaneGeometry
Source§impl Serialize for PaneGeometry
impl Serialize for PaneGeometry
impl StructuralPartialEq for PaneGeometry
Auto Trait Implementations§
impl Freeze for PaneGeometry
impl RefUnwindSafe for PaneGeometry
impl Send for PaneGeometry
impl Sync for PaneGeometry
impl Unpin for PaneGeometry
impl UnsafeUnpin for PaneGeometry
impl UnwindSafe for PaneGeometry
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