pub struct FrameSpec {
pub frame_size: usize,
pub hop_size: usize,
}Expand description
Data type for frame spec.
Fields§
§frame_size: usizeThe frame size value.
hop_size: usizeThe hop size value.
Implementations§
Trait Implementations§
impl Copy for FrameSpec
impl Eq for FrameSpec
Source§impl From<FrameSpec> for FrameStride
impl From<FrameSpec> for FrameStride
impl StructuralPartialEq for FrameSpec
Source§impl TryFrom<FrameStride> for FrameSpec
impl TryFrom<FrameStride> for FrameSpec
Source§type Error = DetectError
type Error = DetectError
The type returned in the event of a conversion error.
Source§fn try_from(value: FrameStride) -> Result<Self>
fn try_from(value: FrameStride) -> Result<Self>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for FrameSpec
impl RefUnwindSafe for FrameSpec
impl Send for FrameSpec
impl Sync for FrameSpec
impl Unpin for FrameSpec
impl UnsafeUnpin for FrameSpec
impl UnwindSafe for FrameSpec
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