Enum basic_dsp_vector::PaddingOption
source · pub enum PaddingOption {
End,
Surround,
Center,
}
Expand description
An option which defines how a vector should be padded
Variants§
End
Appends zeros to the end of the vector.
Surround
Surrounds the vector with zeros at the beginning and at the end.
Center
Inserts zeros in the center of the vector
Trait Implementations§
source§impl Clone for PaddingOption
impl Clone for PaddingOption
source§fn clone(&self) -> PaddingOption
fn clone(&self) -> PaddingOption
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PaddingOption
impl Debug for PaddingOption
source§impl PartialEq for PaddingOption
impl PartialEq for PaddingOption
source§fn eq(&self, other: &PaddingOption) -> bool
fn eq(&self, other: &PaddingOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PaddingOption
impl StructuralPartialEq for PaddingOption
Auto Trait Implementations§
impl Freeze for PaddingOption
impl RefUnwindSafe for PaddingOption
impl Send for PaddingOption
impl Sync for PaddingOption
impl Unpin for PaddingOption
impl UnwindSafe for PaddingOption
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