#[repr(i32)]pub enum LatchedFenceState {
LatchedUnknown = 0,
LatchedSignaled = 1,
LatchedUnsignaled = 2,
LatchedDelayedLatchUnsignaled = 3,
}Variants§
Implementations§
Source§impl LatchedFenceState
impl LatchedFenceState
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Trait Implementations§
Source§impl Clone for LatchedFenceState
impl Clone for LatchedFenceState
Source§fn clone(&self) -> LatchedFenceState
fn clone(&self) -> LatchedFenceState
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 LatchedFenceState
impl Debug for LatchedFenceState
Source§impl Default for LatchedFenceState
impl Default for LatchedFenceState
Source§fn default() -> LatchedFenceState
fn default() -> LatchedFenceState
Returns the “default value” for a type. Read more
Source§impl From<LatchedFenceState> for i32
impl From<LatchedFenceState> for i32
Source§fn from(value: LatchedFenceState) -> i32
fn from(value: LatchedFenceState) -> i32
Converts to this type from the input type.
Source§impl Hash for LatchedFenceState
impl Hash for LatchedFenceState
Source§impl Ord for LatchedFenceState
impl Ord for LatchedFenceState
Source§fn cmp(&self, other: &LatchedFenceState) -> Ordering
fn cmp(&self, other: &LatchedFenceState) -> 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 LatchedFenceState
impl PartialEq for LatchedFenceState
Source§impl PartialOrd for LatchedFenceState
impl PartialOrd for LatchedFenceState
impl Copy for LatchedFenceState
impl Eq for LatchedFenceState
impl StructuralPartialEq for LatchedFenceState
Auto Trait Implementations§
impl Freeze for LatchedFenceState
impl RefUnwindSafe for LatchedFenceState
impl Send for LatchedFenceState
impl Sync for LatchedFenceState
impl Unpin for LatchedFenceState
impl UnsafeUnpin for LatchedFenceState
impl UnwindSafe for LatchedFenceState
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