Enum PropType
pub enum PropType {
Show 18 variants
AnimationStyle(String),
Rounding(i64, bool),
ForceNoBlur(bool, bool),
ForceOpaque(bool, bool),
ForceOpaqueOverriden(bool, bool),
ForceAllowsInput(bool, bool),
ForceNoAnims(bool, bool),
ForceNoBorder(bool, bool),
ForceNoShadow(bool, bool),
WindowDanceCompat(bool, bool),
NoMaxSize(bool, bool),
DimAround(bool, bool),
AlphaOverride(bool, bool),
Alpha(f32, bool),
AlphaInactiveOverride(bool, bool),
AlphaInactive(f32, bool),
ActiveBorderColor(Color, bool),
InactiveBorderColor(Color, bool),
}
Expand description
Type that represents a prop
Variants§
AnimationStyle(String)
The animation style
Rounding(i64, bool)
The roundness
ForceNoBlur(bool, bool)
Force no blur
ForceOpaque(bool, bool)
Force opaque
ForceOpaqueOverriden(bool, bool)
Force opaque overriden
ForceAllowsInput(bool, bool)
Force allow input
ForceNoAnims(bool, bool)
Force no animations
ForceNoBorder(bool, bool)
Force no border
ForceNoShadow(bool, bool)
Force no shadow
WindowDanceCompat(bool, bool)
Allow for windoe dancing?
NoMaxSize(bool, bool)
Allow for overstepping max size
DimAround(bool, bool)
Dim around?
AlphaOverride(bool, bool)
Makes the next setting be override instead of multiply
Alpha(f32, bool)
The alpha
AlphaInactiveOverride(bool, bool)
Makes the next setting be override instead of multiply
AlphaInactive(f32, bool)
The alpha for inactive
ActiveBorderColor(Color, bool)
The active border color
InactiveBorderColor(Color, bool)
The inactive border color
Trait Implementations§
impl StructuralPartialEq for PropType
Auto Trait Implementations§
impl Freeze for PropType
impl RefUnwindSafe for PropType
impl Send for PropType
impl Sync for PropType
impl Unpin for PropType
impl UnwindSafe for PropType
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