Struct gstreamer_base::base_parse_frame::BaseParseFrame[][src]

pub struct BaseParseFrame<'a>(_, _);

Frame (context) data passed to each frame parsing virtual methods. In addition to providing the data to be checked for a valid frame or an already identified frame, it conveys additional metadata or control information from and to the subclass w.r.t. the particular frame in question (rather than global parameters). Some of these may apply to each parsing stage, others only to some a particular one. These parameters are effectively zeroed at start of each frame’s processing, i.e. parsing virtual method invocation sequence.

Implementations

impl<'a> BaseParseFrame<'a>[src]

pub fn buffer(&self) -> Option<&BufferRef>[src]

pub fn buffer_mut(&mut self) -> Option<&mut BufferRef>[src]

pub fn output_buffer(&self) -> Option<&BufferRef>[src]

pub fn output_buffer_mut(&mut self) -> Option<&mut BufferRef>[src]

pub fn set_output_buffer(&mut self, output_buffer: Buffer)[src]

pub fn flags(&self) -> BaseParseFrameFlags[src]

pub fn set_flags(&mut self, flags: BaseParseFrameFlags)[src]

pub fn unset_flags(&mut self, flags: BaseParseFrameFlags)[src]

pub fn offset(&self) -> u64[src]

pub fn overhead(&self) -> Overhead[src]

pub fn set_overhead(&mut self, overhead: Overhead)[src]

Trait Implementations

impl<'a> Debug for BaseParseFrame<'a>[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'a> Send for BaseParseFrame<'a>[src]

impl<'a> Sync for BaseParseFrame<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for BaseParseFrame<'a>

impl<'a> Unpin for BaseParseFrame<'a>

impl<'a> UnwindSafe for BaseParseFrame<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.