[][src]Struct gstreamer_base::Adapter

pub struct Adapter(_, _);

Implementations

impl Adapter[src]

pub fn new() -> Adapter

Notable traits for Adapter

impl Read for Adapter
[src]

pub fn available(&self) -> usize[src]

pub fn available_fast(&self) -> usize[src]

pub fn clear(&self)[src]

pub fn copy_bytes(&self, offset: usize, size: usize) -> Result<Bytes, BoolError>[src]

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

pub fn dts_at_discont(&self) -> ClockTime[src]

pub fn flush(&self, flush: usize)[src]

pub fn get_buffer(&self, nbytes: usize) -> Result<Buffer, BoolError>[src]

pub fn get_buffer_fast(&self, nbytes: usize) -> Result<Buffer, BoolError>[src]

pub fn get_buffer_list(&self, nbytes: usize) -> Result<BufferList, BoolError>[src]

pub fn get_list(&self, nbytes: usize) -> Vec<Buffer>[src]

pub fn masked_scan_uint32(
    &self,
    mask: u32,
    pattern: u32,
    offset: usize,
    size: usize
) -> isize
[src]

pub fn masked_scan_uint32_peek(
    &self,
    mask: u32,
    pattern: u32,
    offset: usize,
    size: usize
) -> (isize, u32)
[src]

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

pub fn prev_dts(&self) -> (ClockTime, u64)[src]

pub fn prev_dts_at_offset(&self, offset: usize) -> (ClockTime, u64)[src]

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

pub fn prev_pts(&self) -> (ClockTime, u64)[src]

pub fn prev_pts_at_offset(&self, offset: usize) -> (ClockTime, u64)[src]

pub fn pts_at_discont(&self) -> ClockTime[src]

pub fn take_buffer(&self, nbytes: usize) -> Result<Buffer, BoolError>[src]

pub fn take_buffer_fast(&self, nbytes: usize) -> Result<Buffer, BoolError>[src]

pub fn take_buffer_list(&self, nbytes: usize) -> Result<BufferList, BoolError>[src]

pub fn take_list(&self, nbytes: usize) -> Vec<Buffer>[src]

impl Adapter[src]

pub fn copy(&self, offset: usize, dest: &mut [u8])[src]

pub fn push(&self, buf: Buffer)[src]

Trait Implementations

impl Clone for Adapter[src]

impl Debug for Adapter[src]

impl Default for Adapter[src]

impl Eq for Adapter[src]

impl Hash for Adapter[src]

impl Ord for Adapter[src]

impl<T: ObjectType> PartialEq<T> for Adapter[src]

impl<T: ObjectType> PartialOrd<T> for Adapter[src]

impl Read for Adapter[src]

impl SendUnique for Adapter[src]

impl StaticType for Adapter[src]

Auto Trait Implementations

impl RefUnwindSafe for Adapter

impl !Send for Adapter

impl !Sync for Adapter

impl Unpin for Adapter

impl UnwindSafe for Adapter

Blanket Implementations

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

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

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

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

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

impl<O> GObjectExtManualGst for O where
    O: IsA<Object>, 
[src]

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

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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.

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.