pub enum BlurStyle {
Normal,
Solid,
Outer,
Inner,
}Expand description
What a decoration is made of — its shape, its sides, its border’s two forms, its
shadows’ blur — and the shapes a border can take.
Which side of a shape a blur keeps (milestone 645), the reference’s BlurStyle.
A blurred shape fades across its edge, half in and half out. The other three styles keep one side of that fade and fill or empty the other: a solid shape with a glow, a glow with a hole where the shape was, a shape whose edge darkens inward.
Variants§
Normal
Fuzzy inside and outside: the shape blurred, what a shadow is.
Solid
Solid inside, fuzzy outside.
Outer
Nothing inside, fuzzy outside.
Inner
Fuzzy inside, nothing outside.
Implementations§
Trait Implementations§
impl Copy for BlurStyle
impl Eq for BlurStyle
impl StructuralPartialEq for BlurStyle
Auto Trait Implementations§
impl Freeze for BlurStyle
impl RefUnwindSafe for BlurStyle
impl Send for BlurStyle
impl Sync for BlurStyle
impl Unpin for BlurStyle
impl UnsafeUnpin for BlurStyle
impl UnwindSafe for BlurStyle
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