[−][src]Struct gstreamer::query::Allocation
Implementations
impl<'a> Allocation<&'a QueryRef>
[src]
impl<'a> Allocation<&'a mut QueryRef>
[src]
pub fn get_mut_query(&mut self) -> &mut QueryRef
[src]
impl Allocation<Query>
[src]
impl<T: AsPtr> Allocation<T>
[src]
pub fn get(&self) -> (&CapsRef, bool)
[src]
pub fn get_owned(&self) -> (Caps, bool)
[src]
pub fn get_allocation_pools(&self) -> Vec<(Option<BufferPool>, u32, u32, u32)>
[src]
pub fn get_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]
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 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 Allocation<T>
[src]
impl<'a> Deref for Allocation<&'a QueryRef>
[src]
impl<'a> Deref for Allocation<&'a mut QueryRef>
[src]
type Target = Allocation<&'a QueryRef>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Deref for Allocation<Query>
[src]
impl DerefMut for Allocation<Query>
[src]
impl From<Allocation<Query>> for Query
[src]
fn from(concrete: Allocation<Query>) -> Self
[src]
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,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,