Struct gstreamer::query::Allocation [−][src]
pub struct Allocation<T>(_);
Implementations
impl<T: AsPtr> Allocation<T>
[src]
impl<T: AsPtr> Allocation<T>
[src]pub fn get(&self) -> (&CapsRef, bool)
[src]
pub fn get_owned(&self) -> (Caps, bool)
[src]
pub fn allocation_pools(&self) -> Vec<(Option<BufferPool>, u32, u32, u32)>
[src]
pub fn allocation_metas(&self) -> Vec<(Type, Option<&StructureRef>)>
[src]
pub fn find_allocation_meta<U: MetaAPI>(&self) -> Option<u32>
[src]
impl<T: AsMutPtr> Allocation<T>
[src]
impl<T: AsMutPtr> Allocation<T>
[src]pub fn add_allocation_pool(
&mut self,
pool: Option<&BufferPool>,
size: u32,
min_buffers: u32,
max_buffers: u32
)
[src]
&mut self,
pool: Option<&BufferPool>,
size: u32,
min_buffers: u32,
max_buffers: u32
)
pub fn set_nth_allocation_pool(
&mut self,
idx: u32,
pool: Option<&BufferPool>,
size: u32,
min_buffers: u32,
max_buffers: u32
)
[src]
&mut self,
idx: u32,
pool: Option<&BufferPool>,
size: u32,
min_buffers: u32,
max_buffers: u32
)
pub fn remove_nth_allocation_pool(&mut self, idx: u32)
[src]
pub fn add_allocation_meta<U: MetaAPI>(
&mut self,
structure: Option<&StructureRef>
)
[src]
&mut self,
structure: Option<&StructureRef>
)
pub fn remove_nth_allocation_meta(&mut self, idx: u32)
[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 structure(&self) -> Option<&StructureRef>
[src]
pub fn structure_mut(&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 Allocation<T>
[src]
impl<T: Debug> Debug for Allocation<T>
[src]impl<'a> Deref for Allocation<&'a QueryRef>
[src]
impl<'a> Deref for Allocation<&'a QueryRef>
[src]impl<'a> Deref for Allocation<&'a mut QueryRef>
[src]
impl<'a> Deref for Allocation<&'a mut QueryRef>
[src]impl Deref for Allocation<Query>
[src]
impl Deref for Allocation<Query>
[src]impl DerefMut for Allocation<Query>
[src]
impl DerefMut for Allocation<Query>
[src]impl From<Allocation<Query>> for Query
[src]
impl From<Allocation<Query>> for Query
[src]fn from(concrete: Allocation<Query>) -> Self
[src]
fn from(concrete: Allocation<Query>) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for Allocation<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Allocation<T> where
T: Send,
T: Send,
impl<T> Sync for Allocation<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Allocation<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Allocation<T> where
T: UnwindSafe,
T: UnwindSafe,