Struct gstreamer::promise::PromiseReply [−][src]
pub struct PromiseReply(_);
This is supported on crate feature
v1_14
only.Methods from Deref<Target = StructureRef>
pub unsafe fn as_ptr(&self) -> *const GstStructure
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstStructure
[src]
pub fn get<'a, T: FromValue<'a>>(&'a self, name: &str) -> Result<T, GetError> where
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
[src]
<<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,
[src]
&'a self,
name: &str
) -> Result<Option<T>, GetError> where
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
pub fn value(&self, name: &str) -> Result<&SendValue, GetError>
[src]
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,
[src]
&'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,
[src]
&'a self,
name: Quark
) -> Result<Option<T>, GetError> where
<<T as FromValue<'a>>::Checker as ValueTypeChecker>::Error: GlibValueError,
pub fn value_by_quark(&self, name: Quark) -> Result<&SendValue, GetError>
[src]
pub fn name<'a>(&self) -> &'a str
[src]
pub fn name_quark(&self) -> Quark
[src]
pub fn has_field(&self, field: &str) -> bool
[src]
pub fn has_field_with_type(&self, field: &str, type_: Type) -> bool
[src]
pub fn has_field_by_quark(&self, field: Quark) -> bool
[src]
pub fn has_field_with_type_by_quark(&self, field: Quark, type_: Type) -> bool
[src]
pub fn fields(&self) -> FieldIterator<'_>ⓘNotable traits for FieldIterator<'a>
impl<'a> Iterator for FieldIterator<'a> type Item = &'static str;
[src]
Notable traits for FieldIterator<'a>
impl<'a> Iterator for FieldIterator<'a> type Item = &'static str;
pub fn iter(&self) -> Iter<'_>ⓘ
[src]
pub fn nth_field_name<'a>(&self, idx: u32) -> Option<&'a str>
[src]
pub fn n_fields(&self) -> u32
[src]
pub fn can_intersect(&self, other: &StructureRef) -> bool
[src]
pub fn intersect(&self, other: &StructureRef) -> Option<Structure>
[src]
pub fn is_subset(&self, superset: &StructureRef) -> bool
[src]
Trait Implementations
impl Debug for PromiseReply
[src]
impl Debug for PromiseReply
[src]impl Deref for PromiseReply
[src]
impl Deref for PromiseReply
[src]type Target = StructureRef
type Target = StructureRef
The resulting type after dereferencing.
fn deref(&self) -> &StructureRef
[src]
fn deref(&self) -> &StructureRef
[src]Dereferences the value.