pub struct TrimSpan {
pub start: f64,
pub end: f64,
pub offset: f64,
}Expand description
What a trim keeps.
Fields§
§start: f64Start, as a fraction of the length, in 0..=1.
end: f64End, as a fraction of the length, in 0..=1.
offset: f64Turns the span is shifted by.
Trait Implementations§
impl Copy for TrimSpan
impl StructuralPartialEq for TrimSpan
Auto Trait Implementations§
impl Freeze for TrimSpan
impl RefUnwindSafe for TrimSpan
impl Send for TrimSpan
impl Sync for TrimSpan
impl Unpin for TrimSpan
impl UnsafeUnpin for TrimSpan
impl UnwindSafe for TrimSpan
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