pub struct ScanWindow(/* private fields */);Implementations§
Source§impl ScanWindow
impl ScanWindow
pub const MIN: ScanWindow
pub const MAX: ScanWindow
pub const BYTE_LEN: usize = 2usize
pub const DEFAULT: ScanWindow
pub fn new(window: u16) -> ScanWindow
pub fn as_microseconds(self) -> u32
Trait Implementations§
Source§impl Clone for ScanWindow
impl Clone for ScanWindow
Source§fn clone(&self) -> ScanWindow
fn clone(&self) -> ScanWindow
Returns a duplicate 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 ScanWindow
impl Debug for ScanWindow
Source§impl Default for ScanWindow
impl Default for ScanWindow
Source§impl From<ScanWindow> for u16
impl From<ScanWindow> for u16
Source§fn from(w: ScanWindow) -> u16
fn from(w: ScanWindow) -> u16
Converts to this type from the input type.
Source§impl Hash for ScanWindow
impl Hash for ScanWindow
Source§impl Ord for ScanWindow
impl Ord for ScanWindow
Source§fn cmp(&self, other: &ScanWindow) -> Ordering
fn cmp(&self, other: &ScanWindow) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScanWindow
impl PartialEq for ScanWindow
Source§impl PartialOrd for ScanWindow
impl PartialOrd for ScanWindow
impl Copy for ScanWindow
impl Eq for ScanWindow
impl StructuralPartialEq for ScanWindow
Auto Trait Implementations§
impl Freeze for ScanWindow
impl RefUnwindSafe for ScanWindow
impl Send for ScanWindow
impl Sync for ScanWindow
impl Unpin for ScanWindow
impl UnwindSafe for ScanWindow
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