#[repr(C)]
pub struct DEVCAPS {
Show 23 fields pub CanRecord: i32, pub CanRecordStrobe: i32, pub HasAudio: i32, pub HasVideo: i32, pub UsesFiles: i32, pub CanSave: i32, pub DeviceType: i32, pub TCRead: i32, pub TCWrite: i32, pub CTLRead: i32, pub IndexRead: i32, pub Preroll: i32, pub Postroll: i32, pub SyncAcc: i32, pub NormRate: i32, pub CanPreview: i32, pub CanMonitorSrc: i32, pub CanTest: i32, pub VideoIn: i32, pub AudioIn: i32, pub Calibrate: i32, pub SeekType: i32, pub SimulatedHardware: i32,
}
Expand description

Required features: "Win32_Media_KernelStreaming"

Fields§

§CanRecord: i32§CanRecordStrobe: i32§HasAudio: i32§HasVideo: i32§UsesFiles: i32§CanSave: i32§DeviceType: i32§TCRead: i32§TCWrite: i32§CTLRead: i32§IndexRead: i32§Preroll: i32§Postroll: i32§SyncAcc: i32§NormRate: i32§CanPreview: i32§CanMonitorSrc: i32§CanTest: i32§VideoIn: i32§AudioIn: i32§Calibrate: i32§SeekType: i32§SimulatedHardware: i32

Trait Implementations§

§

impl Clone for DEVCAPS

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for DEVCAPS

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.