Trait gstreamer_base::prelude::MiniObject [−][src]
pub unsafe trait MiniObject { type GstType; unsafe fn as_ptr(&self) -> *const Self::GstType { ... } unsafe fn as_mut_ptr(&self) -> *mut Self::GstType { ... } unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self { ... } unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self { ... } fn copy(&self) -> GstRc<Self> { ... } }
Associated Types
type GstType
Provided Methods
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
Implementations on Foreign Types
impl MiniObject for TocRef
[src]
impl MiniObject for TocRef
type GstType = GstToc
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl MiniObject for EventRef
[src]
impl MiniObject for EventRef
type GstType = GstEvent
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl MiniObject for CapsRef
[src]
impl MiniObject for CapsRef
type GstType = GstCaps
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl MiniObject for MessageRef
[src]
impl MiniObject for MessageRef
type GstType = GstMessage
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl MiniObject for TocEntryRef
[src]
impl MiniObject for TocEntryRef
type GstType = GstTocEntry
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl MiniObject for BufferListRef
[src]
impl MiniObject for BufferListRef
type GstType = GstBufferList
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl MiniObject for QueryRef
[src]
impl MiniObject for QueryRef
type GstType = GstQuery
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl MiniObject for TagListRef
[src]
impl MiniObject for TagListRef
type GstType = GstTagList
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl MiniObject for SampleRef
[src]
impl MiniObject for SampleRef
type GstType = GstSample
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl MiniObject for ContextRef
[src]
impl MiniObject for ContextRef
type GstType = GstContext
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>
impl MiniObject for BufferRef
[src]
impl MiniObject for BufferRef
type GstType = GstBuffer
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut Runsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut Runsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
[src]
fn copy(&self) -> GstRc<Self>