pub struct TrimItem {
pub start: Animated<f32>,
pub end: Animated<f32>,
pub offset: Animated<f32>,
pub mode: TrimMode,
}Expand description
Keeps a span of geometry’s length.
Fields§
§start: Animated<f32>Where the kept span starts, as a fraction of the length, in 0..=1.
end: Animated<f32>Where it ends, in 0..=1. Nothing is kept unless it is after
start.
offset: Animated<f32>Turns the span is shifted by; it wraps around a closed path.
mode: TrimModeWhether the span is of all the geometry together or of each part.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TrimItem
impl<'de> Deserialize<'de> for TrimItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TrimItem
Auto Trait Implementations§
impl Freeze for TrimItem
impl RefUnwindSafe for TrimItem
impl Send for TrimItem
impl Sync for TrimItem
impl Unpin for TrimItem
impl UnsafeUnpin for TrimItem
impl UnwindSafe for TrimItem
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