Struct mediasoup::producer::ProducerVideoOrientation
source · pub struct ProducerVideoOrientation {
pub camera: bool,
pub flip: bool,
pub rotation: Rotation,
}
Expand description
As documented in WebRTC Video Processing and Codec Requirements.
Fields§
§camera: bool
Whether the source is a video camera.
flip: bool
Whether the video source is flipped.
rotation: Rotation
Rotation degrees.
Trait Implementations§
source§impl Clone for ProducerVideoOrientation
impl Clone for ProducerVideoOrientation
source§fn clone(&self) -> ProducerVideoOrientation
fn clone(&self) -> ProducerVideoOrientation
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 moresource§impl Debug for ProducerVideoOrientation
impl Debug for ProducerVideoOrientation
source§impl<'de> Deserialize<'de> for ProducerVideoOrientation
impl<'de> Deserialize<'de> for ProducerVideoOrientation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ProducerVideoOrientation
impl Serialize for ProducerVideoOrientation
impl Copy for ProducerVideoOrientation
Auto Trait Implementations§
impl Freeze for ProducerVideoOrientation
impl RefUnwindSafe for ProducerVideoOrientation
impl Send for ProducerVideoOrientation
impl Sync for ProducerVideoOrientation
impl Unpin for ProducerVideoOrientation
impl UnwindSafe for ProducerVideoOrientation
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