pub struct DockToggleEvent { /* private fields */ }Expand description
A dock that the user opened or closed with one of DockSkin’s controls:
the collapse button in a tab bar, the strip of a collapsed bottom dock, or
a resize handle dragged past the closed strip and released.
A DockArea drawn by DockSkin emits it after the dock has changed.
DockArea::toggle_dock and the other dock setters do not, so an
application can tell a user’s toggle from one its own code made.
Implementations§
Trait Implementations§
impl EventEmitter<DockToggleEvent> for DockArea
Auto Trait Implementations§
impl Freeze for DockToggleEvent
impl RefUnwindSafe for DockToggleEvent
impl Send for DockToggleEvent
impl Sync for DockToggleEvent
impl Unpin for DockToggleEvent
impl UnsafeUnpin for DockToggleEvent
impl UnwindSafe for DockToggleEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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