Struct gstreamer::BufferPoolConfigRef
source · [−]#[repr(transparent)]pub struct BufferPoolConfigRef(_);
Implementations
pub unsafe fn from_glib_borrow_mut<'a>(
ptr: *mut GstStructure
) -> &'a mut BufferPoolConfigRef
pub fn validate_params(
&self,
caps: Option<&Caps>,
size: u32,
min_buffers: u32,
max_buffers: u32
) -> Result<(), BoolError>
pub fn set_allocator(
&self,
allocator: Option<&Allocator>,
params: Option<&AllocationParams>
)
Methods from Deref<Target = StructureRef>
pub fn get<'a, T: FromValue<'a>>(&'a self, name: &str) -> Result<T, GetError> where
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
pub fn get_optional<'a, T: FromValue<'a>>(
&'a self,
name: &str
) -> Result<Option<T>, GetError> where
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
pub fn get_by_quark<'a, T: FromValue<'a>>(
&'a self,
name: Quark
) -> Result<T, GetError> where
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
pub fn get_optional_by_quark<'a, T: FromValue<'a>>(
&'a self,
name: Quark
) -> Result<Option<T>, GetError> where
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
pub fn fields(&self) -> FieldIterator<'_>ⓘNotable traits for FieldIterator<'a>impl<'a> Iterator for FieldIterator<'a> type Item = &'static str;
Notable traits for FieldIterator<'a>
impl<'a> Iterator for FieldIterator<'a> type Item = &'static str;
pub fn fixate_field_nearest_fraction<T: Into<Fraction>>(
&mut self,
name: &str,
target: T
) -> bool
This is supported on crate feature
v1_20
only.pub fn map_in_place<F: FnMut(Quark, &mut Value) -> ControlFlow<()>>(
&mut self,
func: F
) -> bool
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Target = StructureRef
type Target = StructureRef
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.