pub struct ProbeCriteria {
pub vendor_id: Option<u16>,
pub device_id: Option<u16>,
pub class_code: Option<u8>,
pub subclass: Option<u8>,
pub prog_if: Option<u8>,
}Fields§
§vendor_id: Option<u16>§device_id: Option<u16>§class_code: Option<u8>§subclass: Option<u8>§prog_if: Option<u8>Implementations§
Source§impl ProbeCriteria
impl ProbeCriteria
Trait Implementations§
Source§impl Clone for ProbeCriteria
impl Clone for ProbeCriteria
Source§fn clone(&self) -> ProbeCriteria
fn clone(&self) -> ProbeCriteria
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 ProbeCriteria
impl Debug for ProbeCriteria
Source§impl Default for ProbeCriteria
impl Default for ProbeCriteria
Source§fn default() -> ProbeCriteria
fn default() -> ProbeCriteria
Returns the “default value” for a type. Read more
impl Copy for ProbeCriteria
Auto Trait Implementations§
impl Freeze for ProbeCriteria
impl RefUnwindSafe for ProbeCriteria
impl Send for ProbeCriteria
impl Sync for ProbeCriteria
impl Unpin for ProbeCriteria
impl UnsafeUnpin for ProbeCriteria
impl UnwindSafe for ProbeCriteria
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more