pub struct SectionsResponse {
pub toggled: Option<(String, bool)>,
pub resized: bool,
pub reset: bool,
pub layout: Layout,
}Expand description
What the user did to a stack this pass.
Fields§
§toggled: Option<(String, bool)>A section folded (false) or opened (true), by key.
resized: boolA boundary moved, dragged or from the keyboard.
reset: boolA boundary was double-clicked, or Enter pressed on it: every height set by hand dropped.
layout: LayoutThe layout after the pass.
Trait Implementations§
Source§impl Clone for SectionsResponse
impl Clone for SectionsResponse
Source§fn clone(&self) -> SectionsResponse
fn clone(&self) -> SectionsResponse
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 SectionsResponse
impl Debug for SectionsResponse
Source§impl Default for SectionsResponse
impl Default for SectionsResponse
Source§fn default() -> SectionsResponse
fn default() -> SectionsResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for SectionsResponse
impl PartialEq for SectionsResponse
impl StructuralPartialEq for SectionsResponse
Auto Trait Implementations§
impl Freeze for SectionsResponse
impl RefUnwindSafe for SectionsResponse
impl Send for SectionsResponse
impl Sync for SectionsResponse
impl Unpin for SectionsResponse
impl UnsafeUnpin for SectionsResponse
impl UnwindSafe for SectionsResponse
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more