pub struct Slots {
pub width: Option<Sizing>,
pub height: Option<Sizing>,
pub bg: Option<Color>,
pub radius: Option<f32>,
pub opacity: Option<f32>,
}Expand description
The slots, each optional: one left out is not part of the entrance or the stop, and keeps whatever the node itself declares.
Fields§
§width: Option<Sizing>Only the amount animates, in the form the node’s own width
declares (a fit width never moves).
height: Option<Sizing>§bg: Option<Color>§radius: Option<f32>All four corners.
opacity: Option<f32>Group opacity, 0..=1.
Implementations§
Trait Implementations§
impl Copy for Slots
impl StructuralPartialEq for Slots
Auto Trait Implementations§
impl Freeze for Slots
impl RefUnwindSafe for Slots
impl Send for Slots
impl Sync for Slots
impl Unpin for Slots
impl UnsafeUnpin for Slots
impl UnwindSafe for Slots
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