Struct MediaStreamType
#[repr(transparent)]pub struct MediaStreamType(pub i32);Tuple Fields§
§0: i32Implementations§
§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 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 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
impl Copy for MediaStreamType
impl Eq for MediaStreamType
impl StructuralPartialEq for MediaStreamType
Auto Trait Implementations§
impl Freeze for MediaStreamType
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