#[non_exhaustive]#[repr(u32)]pub enum StreamCaptureDependencyUpdate {
Add = 0,
Set = 1,
}Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for StreamCaptureDependencyUpdate
impl Clone for StreamCaptureDependencyUpdate
Source§fn clone(&self) -> StreamCaptureDependencyUpdate
fn clone(&self) -> StreamCaptureDependencyUpdate
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 moreimpl Copy for StreamCaptureDependencyUpdate
impl Eq for StreamCaptureDependencyUpdate
Source§impl From<StreamCaptureDependencyUpdate> for u32
impl From<StreamCaptureDependencyUpdate> for u32
Source§fn from(enum_value: StreamCaptureDependencyUpdate) -> Self
fn from(enum_value: StreamCaptureDependencyUpdate) -> Self
Converts to this type from the input type.
Source§impl From<StreamCaptureDependencyUpdate> for cudaStreamUpdateCaptureDependenciesFlags
impl From<StreamCaptureDependencyUpdate> for cudaStreamUpdateCaptureDependenciesFlags
Source§fn from(value: StreamCaptureDependencyUpdate) -> Self
fn from(value: StreamCaptureDependencyUpdate) -> Self
Converts to this type from the input type.
Source§impl From<cudaStreamUpdateCaptureDependenciesFlags> for StreamCaptureDependencyUpdate
impl From<cudaStreamUpdateCaptureDependenciesFlags> for StreamCaptureDependencyUpdate
Source§fn from(value: cudaStreamUpdateCaptureDependenciesFlags) -> Self
fn from(value: cudaStreamUpdateCaptureDependenciesFlags) -> Self
Converts to this type from the input type.
Source§impl Hash for StreamCaptureDependencyUpdate
impl Hash for StreamCaptureDependencyUpdate
Source§impl PartialEq for StreamCaptureDependencyUpdate
impl PartialEq for StreamCaptureDependencyUpdate
Source§fn eq(&self, other: &StreamCaptureDependencyUpdate) -> bool
fn eq(&self, other: &StreamCaptureDependencyUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamCaptureDependencyUpdate
Source§impl TryFrom<u32> for StreamCaptureDependencyUpdate
impl TryFrom<u32> for StreamCaptureDependencyUpdate
Source§type Error = TryFromPrimitiveError<StreamCaptureDependencyUpdate>
type Error = TryFromPrimitiveError<StreamCaptureDependencyUpdate>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for StreamCaptureDependencyUpdate
impl TryFromPrimitive for StreamCaptureDependencyUpdate
const NAME: &'static str = "StreamCaptureDependencyUpdate"
type Primitive = u32
type Error = TryFromPrimitiveError<StreamCaptureDependencyUpdate>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for StreamCaptureDependencyUpdate
impl RefUnwindSafe for StreamCaptureDependencyUpdate
impl Send for StreamCaptureDependencyUpdate
impl Sync for StreamCaptureDependencyUpdate
impl Unpin for StreamCaptureDependencyUpdate
impl UnsafeUnpin for StreamCaptureDependencyUpdate
impl UnwindSafe for StreamCaptureDependencyUpdate
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