Struct windows::Media::Capture::MediaStreamType
#[repr(transparent)]pub struct MediaStreamType(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl MediaStreamType
impl MediaStreamType
pub const VideoPreview: Self = _
pub const VideoRecord: Self = _
pub const Audio: Self = _
pub const Photo: Self = _
pub const Metadata: Self = _
Trait Implementations§
§impl Clone for MediaStreamType
impl Clone for MediaStreamType
§fn clone(&self) -> MediaStreamType
fn clone(&self) -> MediaStreamType
Returns a copy 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 more§impl Debug for MediaStreamType
impl Debug for MediaStreamType
§impl Default for MediaStreamType
impl Default for MediaStreamType
§fn default() -> MediaStreamType
fn default() -> MediaStreamType
Returns the “default value” for a type. Read more
§impl PartialEq for MediaStreamType
impl PartialEq for MediaStreamType
§fn eq(&self, other: &MediaStreamType) -> bool
fn eq(&self, other: &MediaStreamType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MediaStreamType
impl Eq for MediaStreamType
impl StructuralPartialEq for MediaStreamType
Auto Trait Implementations§
impl RefUnwindSafe for MediaStreamType
impl Send for MediaStreamType
impl Sync for MediaStreamType
impl Unpin for MediaStreamType
impl UnwindSafe for MediaStreamType
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