pub enum SampleStateKind {
NotRead,
Read,
}Expand description
SampleStateKind (DDS 1.4 §2.2.2.5.1.1) — pro Reader gepflegt.
Variants§
NotRead
Sample wurde noch nie via read/take an die Application
uebergeben.
Read
Sample wurde schon mindestens einmal via read ausgeliefert
(nach take ist es weg, daher relevant nur fuer read).
Implementations§
Source§impl SampleStateKind
impl SampleStateKind
Sourcepub const fn is_not_read(&self) -> bool
pub const fn is_not_read(&self) -> bool
true wenn dies ein noch ungelesenes Sample ist.
Trait Implementations§
Source§impl Clone for SampleStateKind
impl Clone for SampleStateKind
Source§fn clone(&self) -> SampleStateKind
fn clone(&self) -> SampleStateKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SampleStateKind
impl Debug for SampleStateKind
Source§impl Default for SampleStateKind
impl Default for SampleStateKind
Source§impl Hash for SampleStateKind
impl Hash for SampleStateKind
Source§impl Ord for SampleStateKind
impl Ord for SampleStateKind
Source§fn cmp(&self, other: &SampleStateKind) -> Ordering
fn cmp(&self, other: &SampleStateKind) -> Ordering
1.21.0 (const: unstable) · 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 SampleStateKind
impl PartialEq for SampleStateKind
Source§fn eq(&self, other: &SampleStateKind) -> bool
fn eq(&self, other: &SampleStateKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SampleStateKind
impl PartialOrd for SampleStateKind
impl Copy for SampleStateKind
impl Eq for SampleStateKind
impl StructuralPartialEq for SampleStateKind
Auto Trait Implementations§
impl Freeze for SampleStateKind
impl RefUnwindSafe for SampleStateKind
impl Send for SampleStateKind
impl Sync for SampleStateKind
impl Unpin for SampleStateKind
impl UnsafeUnpin for SampleStateKind
impl UnwindSafe for SampleStateKind
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