pub struct CharWin32Serial { /* private fields */ }Implementations§
Source§impl CharWin32Serial
impl CharWin32Serial
Sourcepub fn builder() -> CharWin32SerialBuilder
pub fn builder() -> CharWin32SerialBuilder
Create an instance of CharWin32Serial using the builder syntax
Trait Implementations§
Source§impl Arbitrary for CharWin32Serial
impl Arbitrary for CharWin32Serial
Source§type Parameters = (<String as Arbitrary>::Parameters, <PathBuf as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <PathBuf as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters, <Option<PathBuf> as Arbitrary>::Parameters, <Option<OnOff> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<String as Arbitrary>::Strategy, <PathBuf as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy), fn((String, PathBuf, Option<OnOff>, Option<PathBuf>, Option<OnOff>)) -> CharWin32Serial>
type Strategy = Map<(<String as Arbitrary>::Strategy, <PathBuf as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy, <Option<PathBuf> as Arbitrary>::Strategy, <Option<OnOff> as Arbitrary>::Strategy), fn((String, PathBuf, Option<OnOff>, Option<PathBuf>, Option<OnOff>)) -> CharWin32Serial>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for CharWin32Serial
impl Clone for CharWin32Serial
Source§fn clone(&self) -> CharWin32Serial
fn clone(&self) -> CharWin32Serial
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 CharWin32Serial
impl Debug for CharWin32Serial
Source§impl Default for CharWin32Serial
impl Default for CharWin32Serial
Source§fn default() -> CharWin32Serial
fn default() -> CharWin32Serial
Returns the “default value” for a type. Read more
Source§impl Hash for CharWin32Serial
impl Hash for CharWin32Serial
Source§impl Ord for CharWin32Serial
impl Ord for CharWin32Serial
Source§fn cmp(&self, other: &CharWin32Serial) -> Ordering
fn cmp(&self, other: &CharWin32Serial) -> 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 CharWin32Serial
impl PartialEq for CharWin32Serial
Source§impl PartialOrd for CharWin32Serial
impl PartialOrd for CharWin32Serial
impl Eq for CharWin32Serial
impl StructuralPartialEq for CharWin32Serial
Auto Trait Implementations§
impl Freeze for CharWin32Serial
impl RefUnwindSafe for CharWin32Serial
impl Send for CharWin32Serial
impl Sync for CharWin32Serial
impl Unpin for CharWin32Serial
impl UnsafeUnpin for CharWin32Serial
impl UnwindSafe for CharWin32Serial
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