pub enum AreaLineState {
Egui,
Line {
width: f32,
color: Option<Color32>,
},
}Expand description
The line between two areas in one state.
Variants§
Egui
The theme says nothing: egui’s widget stroke for the state.
Line
The theme’s line: width points (0: none), in color, egui’s
stroke colour for the state when the theme gives none.
Trait Implementations§
Source§impl Clone for AreaLineState
impl Clone for AreaLineState
Source§fn clone(&self) -> AreaLineState
fn clone(&self) -> AreaLineState
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 AreaLineState
impl Debug for AreaLineState
Source§impl Default for AreaLineState
impl Default for AreaLineState
Source§fn default() -> AreaLineState
fn default() -> AreaLineState
Returns the “default value” for a type. Read more
Source§impl PartialEq for AreaLineState
impl PartialEq for AreaLineState
impl Copy for AreaLineState
impl StructuralPartialEq for AreaLineState
Auto Trait Implementations§
impl Freeze for AreaLineState
impl RefUnwindSafe for AreaLineState
impl Send for AreaLineState
impl Sync for AreaLineState
impl Unpin for AreaLineState
impl UnsafeUnpin for AreaLineState
impl UnwindSafe for AreaLineState
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