[][src]Struct gstreamer::query::Formats

pub struct Formats<T>(_);

Implementations

impl<'a> Formats<&'a QueryRef>[src]

pub fn get_query(&self) -> &QueryRef[src]

impl<'a> Formats<&'a mut QueryRef>[src]

pub fn get_mut_query(&mut self) -> &mut QueryRef[src]

impl Formats<Query>[src]

pub fn new() -> Self[src]

impl<T: AsPtr> Formats<T>[src]

pub fn get_result(&self) -> Vec<Format>[src]

impl<T: AsMutPtr> Formats<T>[src]

pub fn set(&mut self, formats: &[Format])[src]

Methods from Deref<Target = QueryRef>

pub unsafe fn as_ptr(&self) -> *const GstQuery[src]

pub unsafe fn as_mut_ptr(&self) -> *mut GstQuery[src]

pub fn copy(&self) -> Query[src]

pub fn get_structure(&self) -> Option<&StructureRef>[src]

pub fn get_mut_structure(&mut self) -> &mut StructureRef[src]

pub fn is_downstream(&self) -> bool[src]

pub fn is_upstream(&self) -> bool[src]

pub fn is_serialized(&self) -> bool[src]

pub fn view(&self) -> QueryView<&Self>[src]

pub fn view_mut(&mut self) -> QueryView<&mut Self>[src]

Trait Implementations

impl<T: Debug> Debug for Formats<T>[src]

impl Default for Formats<Query>[src]

impl<'a> Deref for Formats<&'a QueryRef>[src]

type Target = QueryRef

The resulting type after dereferencing.

impl<'a> Deref for Formats<&'a mut QueryRef>[src]

type Target = Formats<&'a QueryRef>

The resulting type after dereferencing.

impl Deref for Formats<Query>[src]

type Target = QueryRef

The resulting type after dereferencing.

impl DerefMut for Formats<Query>[src]

impl From<Formats<Query>> for Query[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Formats<T> where
    T: RefUnwindSafe

impl<T> Send for Formats<T> where
    T: Send

impl<T> Sync for Formats<T> where
    T: Sync

impl<T> Unpin for Formats<T> where
    T: Unpin

impl<T> UnwindSafe for Formats<T> where
    T: UnwindSafe

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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.