pub struct AreaLineKit {
pub hover: AreaLineState,
pub active: AreaLineState,
pub fold: FoldGuide,
}Expand description
The line between two areas while hovered or focused (hover) and
while dragged (active), from side-area.hover.border-width,
side-area.hover.border-color and their active twins. A state whose
tokens say nothing is drawn with egui’s widget stroke, as before the
tokens existed (Kit::area_line_stroke). The guide shown while a
side area’s line is dragged far enough to fold the area on release
(fold) takes side-area.fold.border-width and border-color
(Kit::fold_guide_stroke).
Fields§
§hover: AreaLineState§active: AreaLineState§fold: FoldGuideTrait Implementations§
Source§impl Clone for AreaLineKit
impl Clone for AreaLineKit
Source§fn clone(&self) -> AreaLineKit
fn clone(&self) -> AreaLineKit
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 AreaLineKit
impl Debug for AreaLineKit
Source§impl Default for AreaLineKit
impl Default for AreaLineKit
Source§fn default() -> AreaLineKit
fn default() -> AreaLineKit
Returns the “default value” for a type. Read more
Source§impl PartialEq for AreaLineKit
impl PartialEq for AreaLineKit
impl Copy for AreaLineKit
impl StructuralPartialEq for AreaLineKit
Auto Trait Implementations§
impl Freeze for AreaLineKit
impl RefUnwindSafe for AreaLineKit
impl Send for AreaLineKit
impl Sync for AreaLineKit
impl Unpin for AreaLineKit
impl UnsafeUnpin for AreaLineKit
impl UnwindSafe for AreaLineKit
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