#[non_exhaustive]#[repr(u32)]pub enum StreamCaptureDependencyUpdate {
Add = 0,
Set = 1,
}Expand description
Flags for Stream::update_capture_dependencies
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§
impl 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 Hash for StreamCaptureDependencyUpdate
impl Hash for StreamCaptureDependencyUpdate
impl StructuralPartialEq for StreamCaptureDependencyUpdate
Source§impl TryFrom<cudaStreamUpdateCaptureDependenciesFlags> for StreamCaptureDependencyUpdate
impl TryFrom<cudaStreamUpdateCaptureDependenciesFlags> for StreamCaptureDependencyUpdate
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(
value: cudaStreamUpdateCaptureDependenciesFlags,
) -> Result<Self, UnknownEnumValue>
fn try_from( value: cudaStreamUpdateCaptureDependenciesFlags, ) -> Result<Self, UnknownEnumValue>
Performs the conversion.
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 Forget for StreamCaptureDependencyUpdate
impl Freeze for StreamCaptureDependencyUpdate
impl Move 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.