pub struct SampledReveal {
pub progress: f32,
pub angle_degrees: f32,
pub feather: f32,
}Expand description
A text reveal at one time.
Fields§
§progress: f32How much of a fully selected unit shows, in [0, 1].
angle_degrees: f32The direction the edge travels, clockwise degrees.
feather: f32The edge’s softness, font sizes in [0, MAX_REVEAL_FEATHER].
Trait Implementations§
Source§impl Clone for SampledReveal
impl Clone for SampledReveal
impl Copy for SampledReveal
Source§impl Debug for SampledReveal
impl Debug for SampledReveal
Source§impl PartialEq for SampledReveal
impl PartialEq for SampledReveal
impl StructuralPartialEq for SampledReveal
Auto Trait Implementations§
impl Forget for SampledReveal
impl Freeze for SampledReveal
impl Move for SampledReveal
impl RefUnwindSafe for SampledReveal
impl Send for SampledReveal
impl Sync for SampledReveal
impl Unpin for SampledReveal
impl UnsafeUnpin for SampledReveal
impl UnwindSafe for SampledReveal
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