[−][src]Struct gst::Caps
Methods
impl Caps
[src]
pub unsafe fn new(caps: *mut GstCaps) -> Option<Caps>
[src]
pub fn new_empty() -> Caps
[src]
pub fn new_empty_simple(media_type: &str) -> Caps
[src]
pub fn new_any() -> Caps
[src]
pub fn is_writable(&self) -> bool
[src]
pub fn from_string(desc: &str) -> Option<Caps>
[src]
pub fn to_string(&self) -> &str
[src]
pub fn video_info(&self) -> Option<VideoInfo>
[src]
pub unsafe fn gst_caps(&self) -> *const GstCaps
[src]
pub unsafe fn gst_caps_mut(&mut self) -> *mut GstCaps
[src]
pub fn structure(&self, index: u32) -> Option<Structure>
[src]
Methods from Deref<Target = MiniObject>
pub fn lock<F: FnMut(&mut MiniObject)>(
&mut self,
flags: &[LockFlags],
f: F
) -> bool
[src]
&mut self,
flags: &[LockFlags],
f: F
) -> bool
pub fn gst_miniobject(&self) -> *const GstMiniObject
[src]
pub fn gst_miniobject_mut(&mut self) -> *mut GstMiniObject
[src]
Trait Implementations
impl Transfer<Struct__GstCaps> for Caps
[src]
impl AsMut<MiniObject> for Caps
[src]
fn as_mut(&mut self) -> &mut MiniObject
[src]
impl PartialEq<Caps> for Caps
[src]
fn eq(&self, other: &Caps) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl AsRef<MiniObject> for Caps
[src]
fn as_ref(&self) -> &MiniObject
[src]
impl Clone for Caps
[src]
fn clone(&self) -> Caps
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<Caps> for MiniObject
[src]
fn from(b: Caps) -> MiniObject
[src]
impl Eq for Caps
[src]
impl Deref for Caps
[src]
impl DerefMut for Caps
[src]
fn deref_mut(&mut self) -> &mut MiniObject
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,