Trait gstreamer_video::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 BufferRef[src]
impl MiniObject for BufferReftype GstType = GstBuffer
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl MiniObject for MessageRef[src]
impl MiniObject for MessageReftype GstType = GstMessage
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl MiniObject for SampleRef[src]
impl MiniObject for SampleReftype GstType = GstSample
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl MiniObject for EventRef[src]
impl MiniObject for EventReftype GstType = GstEvent
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl MiniObject for ContextRef[src]
impl MiniObject for ContextReftype GstType = GstContext
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl MiniObject for TocRef[src]
impl MiniObject for TocReftype GstType = GstToc
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl MiniObject for BufferListRef[src]
impl MiniObject for BufferListReftype GstType = GstBufferList
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl MiniObject for QueryRef[src]
impl MiniObject for QueryReftype GstType = GstQuery
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl MiniObject for TagListRef[src]
impl MiniObject for TagListReftype GstType = GstTagList
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl MiniObject for TocEntryRef[src]
impl MiniObject for TocEntryReftype GstType = GstTocEntry
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>impl MiniObject for CapsRef[src]
impl MiniObject for CapsReftype GstType = GstCaps
unsafe fn as_ptr(&self) -> *const Self::GstType[src]
unsafe fn as_ptr(&self) -> *const Self::GstTypeunsafe 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 Selffn copy(&self) -> GstRc<Self>[src]
fn copy(&self) -> GstRc<Self>