pub struct Trim {
pub start: Option<Anim<f32>>,
pub end: Option<Anim<f32>>,
pub offset: Option<Anim<f32>>,
}Expand description
The part of outlines’ length that is kept, from start to end, shifted by offset turns.
Fields§
§start: Option<Anim<f32>>Default 0.
end: Option<Anim<f32>>Default 1.
offset: Option<Anim<f32>>Default 0.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Trim
impl<'de> Deserialize<'de> for Trim
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 Trim
Auto Trait Implementations§
impl Forget for Trim
impl Freeze for Trim
impl Move for Trim
impl RefUnwindSafe for Trim
impl Send for Trimwhere
RawVecInner: Send,
impl Sync for Trimwhere
RawVecInner: Sync,
impl Unpin for Trim
impl UnsafeUnpin for Trimwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Key<f32>>: UnsafeUnpin,
impl UnwindSafe for Trimwhere
RawVecInner: UnwindSafe,
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