Struct gstreamer_video::video_codec_state::VideoCodecState [−][src]
pub struct VideoCodecState<'a, T: VideoCodecStateContext<'a>> { /* fields omitted */ }
Structure representing the state of an incoming or outgoing video stream for encoders and decoders.
Decoders and encoders will receive such a state through their
respective set_format
vmethods.
Decoders and encoders can set the downstream state, by using the
[crate::VideoDecoder::set_output_state()
] (XXX: @-reference does not belong to VideoCodecState!) or
[crate::VideoEncoder::set_output_state()
] (XXX: @-reference does not belong to VideoCodecState!) methods.
Implementations
impl<'a, T: VideoCodecStateContext<'a>> VideoCodecState<'a, T>
[src]
impl<'a, T: VideoCodecStateContext<'a>> VideoCodecState<'a, T>
[src]impl<'a> VideoCodecState<'a, InNegotiation<'a>>
[src]
impl<'a> VideoCodecState<'a, InNegotiation<'a>>
[src]Trait Implementations
impl<'a> Clone for VideoCodecState<'a, Readable>
[src]
impl<'a> Clone for VideoCodecState<'a, Readable>
[src]impl<'a, T: VideoCodecStateContext<'a>> Debug for VideoCodecState<'a, T>
[src]
impl<'a, T: VideoCodecStateContext<'a>> Debug for VideoCodecState<'a, T>
[src]impl<'a, T: VideoCodecStateContext<'a>> Drop for VideoCodecState<'a, T>
[src]
impl<'a, T: VideoCodecStateContext<'a>> Drop for VideoCodecState<'a, T>
[src]impl<'a> Send for VideoCodecState<'a, Readable>
[src]
impl<'a> Sync for VideoCodecState<'a, Readable>
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for VideoCodecState<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> !Send for VideoCodecState<'a, T>
impl<'a, T> !Sync for VideoCodecState<'a, T>
impl<'a, T> Unpin for VideoCodecState<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> UnwindSafe for VideoCodecState<'a, T> where
T: RefUnwindSafe + UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more