Struct gstreamer_player::PlayerConfig [−][src]
pub struct PlayerConfig(_);
Methods
impl PlayerConfig[src]
impl PlayerConfigpub fn get_position_update_interval(&self) -> u32[src]
pub fn get_position_update_interval(&self) -> u32pub fn get_seek_accurate(&self) -> bool[src]
pub fn get_seek_accurate(&self) -> boolpub fn get_user_agent(&self) -> Option<String>[src]
pub fn get_user_agent(&self) -> Option<String>pub fn set_position_update_interval(&mut self, interval: u32)[src]
pub fn set_position_update_interval(&mut self, interval: u32)pub fn set_seek_accurate(&mut self, accurate: bool)[src]
pub fn set_seek_accurate(&mut self, accurate: bool)pub fn set_user_agent(&mut self, agent: &str)[src]
pub fn set_user_agent(&mut self, agent: &str)pub unsafe fn into_ptr(self) -> *mut GstStructure[src]
pub unsafe fn into_ptr(self) -> *mut GstStructureMethods from Deref<Target = StructureRef>
pub unsafe fn as_ptr(&self) -> *const GstStructure[src]
pub unsafe fn as_ptr(&self) -> *const GstStructurepub unsafe fn as_mut_ptr(&self) -> *mut GstStructure[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstStructurepub fn to_string(&self) -> String[src]
pub fn to_string(&self) -> Stringpub fn get<'a, T>(&'a self, name: &str) -> Option<T> where
T: FromValueOptional<'a>, [src]
pub fn get<'a, T>(&'a self, name: &str) -> Option<T> where
T: FromValueOptional<'a>, pub fn get_value(&'a self, name: &str) -> Option<&'a SendValue>[src]
pub fn get_value(&'a self, name: &str) -> Option<&'a SendValue>pub fn set<T>(&mut self, name: &str, value: &T) where
T: ToSendValue, [src]
pub fn set<T>(&mut self, name: &str, value: &T) where
T: ToSendValue, pub fn set_value(&mut self, name: &str, value: SendValue)[src]
pub fn set_value(&mut self, name: &str, value: SendValue)pub fn get_name(&self) -> &str[src]
pub fn get_name(&self) -> &strpub fn set_name(&mut self, name: &str)[src]
pub fn set_name(&mut self, name: &str)pub fn has_field(&self, field: &str) -> bool[src]
pub fn has_field(&self, field: &str) -> boolpub fn has_field_with_type(&self, field: &str, type_: Type) -> bool[src]
pub fn has_field_with_type(&self, field: &str, type_: Type) -> boolpub fn remove_field(&mut self, field: &str)[src]
pub fn remove_field(&mut self, field: &str)pub fn remove_fields(&mut self, fields: &[&str])[src]
pub fn remove_fields(&mut self, fields: &[&str])pub fn remove_all_fields(&mut self)[src]
pub fn remove_all_fields(&mut self)ⓘImportant traits for FieldIterator<'a>pub fn fields(&self) -> FieldIterator[src]
ⓘImportant traits for FieldIterator<'a>
pub fn fields(&self) -> FieldIteratorⓘImportant traits for Iter<'a>pub fn iter(&self) -> Iter[src]
ⓘImportant traits for Iter<'a>
pub fn iter(&self) -> Iterpub fn get_nth_field_name(&self, idx: u32) -> Option<&str>[src]
pub fn get_nth_field_name(&self, idx: u32) -> Option<&str>pub fn n_fields(&self) -> u32[src]
pub fn n_fields(&self) -> u32pub fn can_intersect(&self, other: &StructureRef) -> bool[src]
pub fn can_intersect(&self, other: &StructureRef) -> boolpub fn intersect(&self, other: &StructureRef) -> Option<Structure>[src]
pub fn intersect(&self, other: &StructureRef) -> Option<Structure>pub fn is_subset(&self, superset: &StructureRef) -> bool[src]
pub fn is_subset(&self, superset: &StructureRef) -> boolpub fn fixate(&mut self)[src]
pub fn fixate(&mut self)pub fn fixate_field(&mut self, name: &str) -> bool[src]
pub fn fixate_field(&mut self, name: &str) -> boolpub fn fixate_field_bool(&mut self, name: &str, target: bool) -> bool[src]
pub fn fixate_field_bool(&mut self, name: &str, target: bool) -> boolpub fn fixate_field_str(&mut self, name: &str, target: &str) -> bool[src]
pub fn fixate_field_str(&mut self, name: &str, target: &str) -> boolpub fn fixate_field_nearest_double(&mut self, name: &str, target: f64) -> bool[src]
pub fn fixate_field_nearest_double(&mut self, name: &str, target: f64) -> boolpub fn fixate_field_nearest_fraction<T>(
&mut self,
name: &str,
target: T
) -> bool where
T: Into<Fraction>, [src]
pub fn fixate_field_nearest_fraction<T>(
&mut self,
name: &str,
target: T
) -> bool where
T: Into<Fraction>, pub fn fixate_field_nearest_int(&mut self, name: &str, target: i32) -> bool[src]
pub fn fixate_field_nearest_int(&mut self, name: &str, target: i32) -> boolTrait Implementations
impl Debug for PlayerConfig[src]
impl Debug for PlayerConfigfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for PlayerConfig[src]
impl PartialEq for PlayerConfigfn eq(&self, other: &PlayerConfig) -> bool[src]
fn eq(&self, other: &PlayerConfig) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &PlayerConfig) -> bool[src]
fn ne(&self, other: &PlayerConfig) -> boolThis method tests for !=.
impl Eq for PlayerConfig[src]
impl Eq for PlayerConfigimpl Deref for PlayerConfig[src]
impl Deref for PlayerConfigtype Target = StructureRef
The resulting type after dereferencing.
fn deref(&self) -> &StructureRef[src]
fn deref(&self) -> &StructureRefDereferences the value.
impl DerefMut for PlayerConfig[src]
impl DerefMut for PlayerConfigfn deref_mut(&mut self) -> &mut StructureRef[src]
fn deref_mut(&mut self) -> &mut StructureRefMutably dereferences the value.
impl AsRef<StructureRef> for PlayerConfig[src]
impl AsRef<StructureRef> for PlayerConfigfn as_ref(&self) -> &StructureRef[src]
fn as_ref(&self) -> &StructureRefPerforms the conversion.
impl AsMut<StructureRef> for PlayerConfig[src]
impl AsMut<StructureRef> for PlayerConfigfn as_mut(&mut self) -> &mut StructureRef[src]
fn as_mut(&mut self) -> &mut StructureRefPerforms the conversion.
impl FromGlibPtrFull<*mut GstStructure> for PlayerConfig[src]
impl FromGlibPtrFull<*mut GstStructure> for PlayerConfigunsafe fn from_glib_full(ptr: *mut GstStructure) -> Self[src]
unsafe fn from_glib_full(ptr: *mut GstStructure) -> SelfAuto Trait Implementations
impl Send for PlayerConfig
impl Send for PlayerConfigimpl !Sync for PlayerConfig
impl !Sync for PlayerConfig