pub struct FoldGuide {
pub width: Option<f32>,
pub color: Option<Color32>,
}Expand description
The fold guide’s terms, from side-area.fold.border-width and
side-area.fold.border-color: each one the theme leaves out keeps
egui_stack’s guide stroke (LayoutStyle::snap_guide).
Fields§
§width: Option<f32>The guide’s width in points; 0: no guide.
color: Option<Color32>The guide’s colour.
Trait Implementations§
impl Copy for FoldGuide
impl StructuralPartialEq for FoldGuide
Auto Trait Implementations§
impl Freeze for FoldGuide
impl RefUnwindSafe for FoldGuide
impl Send for FoldGuide
impl Sync for FoldGuide
impl Unpin for FoldGuide
impl UnsafeUnpin for FoldGuide
impl UnwindSafe for FoldGuide
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