Struct gstreamer_gl::GLBaseMemory [−][src]
pub struct GLBaseMemory { /* fields omitted */ }
Implementations
impl GLBaseMemory
[src]
impl GLBaseMemory
[src]pub unsafe fn from_glib_none(ptr: *const GstGLBaseMemory) -> Self
[src]
pub unsafe fn from_glib_full(ptr: *const GstGLBaseMemory) -> Self
[src]
pub unsafe fn from_glib_borrow(ptr: *const GstGLBaseMemory) -> Borrowed<Self>
[src]
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstGLBaseMemory)
[src]
pub fn make_mut(&mut self) -> &mut GLBaseMemoryRef
[src]
pub fn get_mut(&mut self) -> Option<&mut GLBaseMemoryRef>
[src]
pub fn is_writable(&self) -> bool
[src]
pub unsafe fn into_ptr(self) -> *mut GstGLBaseMemory
[src]
Methods from Deref<Target = GLBaseMemoryRef>
pub unsafe fn as_ptr(&self) -> *const GstGLBaseMemory
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstGLBaseMemory
[src]
pub fn copy(&self) -> GLBaseMemory
[src]
pub unsafe fn memcpy(
&self,
dest: &mut GLBaseMemory,
offset: isize,
size: isize
) -> Result<(), LoggableError>
[src]
&self,
dest: &mut GLBaseMemory,
offset: isize,
size: isize
) -> Result<(), LoggableError>
Methods from Deref<Target = MemoryRef>
pub fn allocator(&self) -> Option<Allocator>
[src]
pub fn parent(&self) -> Option<&MemoryRef>
[src]
pub fn maxsize(&self) -> usize
[src]
pub fn align(&self) -> usize
[src]
pub fn offset(&self) -> usize
[src]
pub fn size(&self) -> usize
[src]
pub fn flags(&self) -> MemoryFlags
[src]
pub fn copy_part(&self, offset: isize, size: Option<usize>) -> Memory
[src]
pub fn is_span(&self, mem2: &MemoryRef) -> Option<usize>
[src]
pub fn is_type(&self, mem_type: &str) -> bool
[src]
pub fn map_readable(&self) -> Result<MemoryMap<'_, Readable>, BoolError>
[src]
pub fn map_writable(&mut self) -> Result<MemoryMap<'_, Writable>, BoolError>
[src]
pub fn share(&self, offset: isize, size: Option<usize>) -> Memory
[src]
pub fn resize(&mut self, offset: isize, size: usize)
[src]
pub fn dump(&self, size: Option<usize>) -> Dump<'_>
[src]
pub unsafe fn as_ptr(&self) -> *const GstMemory
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstMemory
[src]
pub fn copy(&self) -> Memory
[src]
Trait Implementations
impl AsRef<GLBaseMemoryRef> for GLBaseMemory
[src]
impl AsRef<GLBaseMemoryRef> for GLBaseMemory
[src]fn as_ref(&self) -> &GLBaseMemoryRef
[src]
fn as_ref(&self) -> &GLBaseMemoryRef
[src]Performs the conversion.
impl Borrow<GLBaseMemoryRef> for GLBaseMemory
[src]
impl Borrow<GLBaseMemoryRef> for GLBaseMemory
[src]fn borrow(&self) -> &GLBaseMemoryRef
[src]
fn borrow(&self) -> &GLBaseMemoryRef
[src]Immutably borrows from an owned value. Read more
impl Clone for GLBaseMemory
[src]
impl Clone for GLBaseMemory
[src]impl Deref for GLBaseMemory
[src]
impl Deref for GLBaseMemory
[src]type Target = GLBaseMemoryRef
type Target = GLBaseMemoryRef
The resulting type after dereferencing.
impl Drop for GLBaseMemory
[src]
impl Drop for GLBaseMemory
[src]impl FromGlibContainerAsVec<*mut GstGLBaseMemory, *const *mut GstGLBaseMemory> for GLBaseMemory
[src]
impl FromGlibContainerAsVec<*mut GstGLBaseMemory, *const *mut GstGLBaseMemory> for GLBaseMemory
[src]impl FromGlibContainerAsVec<*mut GstGLBaseMemory, *mut *mut GstGLBaseMemory> for GLBaseMemory
[src]
impl FromGlibContainerAsVec<*mut GstGLBaseMemory, *mut *mut GstGLBaseMemory> for GLBaseMemory
[src]impl FromGlibPtrArrayContainerAsVec<*mut GstGLBaseMemory, *const *mut GstGLBaseMemory> for GLBaseMemory
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstGLBaseMemory, *const *mut GstGLBaseMemory> for GLBaseMemory
[src]unsafe fn from_glib_none_as_vec(ptr: *const *mut GstGLBaseMemory) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(
_: *const *mut GstGLBaseMemory
) -> Vec<Self>
[src]
_: *const *mut GstGLBaseMemory
) -> Vec<Self>
unsafe fn from_glib_full_as_vec(_: *const *mut GstGLBaseMemory) -> Vec<Self>
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstGLBaseMemory, *mut *mut GstGLBaseMemory> for GLBaseMemory
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstGLBaseMemory, *mut *mut GstGLBaseMemory> for GLBaseMemory
[src]unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstGLBaseMemory) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(
ptr: *mut *mut GstGLBaseMemory
) -> Vec<Self>
[src]
ptr: *mut *mut GstGLBaseMemory
) -> Vec<Self>
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstGLBaseMemory) -> Vec<Self>
[src]
impl FromGlibPtrBorrow<*const GstGLBaseMemory> for GLBaseMemory
[src]
impl FromGlibPtrBorrow<*const GstGLBaseMemory> for GLBaseMemory
[src]unsafe fn from_glib_borrow(ptr: *const GstGLBaseMemory) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *const GstGLBaseMemory) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrBorrow<*mut GstGLBaseMemory> for GLBaseMemory
[src]
impl FromGlibPtrBorrow<*mut GstGLBaseMemory> for GLBaseMemory
[src]unsafe fn from_glib_borrow(ptr: *mut GstGLBaseMemory) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *mut GstGLBaseMemory) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrFull<*const GstGLBaseMemory> for GLBaseMemory
[src]
impl FromGlibPtrFull<*const GstGLBaseMemory> for GLBaseMemory
[src]unsafe fn from_glib_full(ptr: *const GstGLBaseMemory) -> Self
[src]
unsafe fn from_glib_full(ptr: *const GstGLBaseMemory) -> Self
[src]Safety Read more
impl FromGlibPtrFull<*mut GstGLBaseMemory> for GLBaseMemory
[src]
impl FromGlibPtrFull<*mut GstGLBaseMemory> for GLBaseMemory
[src]unsafe fn from_glib_full(ptr: *mut GstGLBaseMemory) -> Self
[src]
unsafe fn from_glib_full(ptr: *mut GstGLBaseMemory) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*const GstGLBaseMemory> for GLBaseMemory
[src]
impl FromGlibPtrNone<*const GstGLBaseMemory> for GLBaseMemory
[src]unsafe fn from_glib_none(ptr: *const GstGLBaseMemory) -> Self
[src]
unsafe fn from_glib_none(ptr: *const GstGLBaseMemory) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*mut GstGLBaseMemory> for GLBaseMemory
[src]
impl FromGlibPtrNone<*mut GstGLBaseMemory> for GLBaseMemory
[src]unsafe fn from_glib_none(ptr: *mut GstGLBaseMemory) -> Self
[src]
unsafe fn from_glib_none(ptr: *mut GstGLBaseMemory) -> Self
[src]Safety Read more
impl<'a> FromValue<'a> for GLBaseMemory
[src]
impl<'a> FromValue<'a> for GLBaseMemory
[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl GlibPtrDefault for GLBaseMemory
[src]
impl GlibPtrDefault for GLBaseMemory
[src]impl StaticType for GLBaseMemory
[src]
impl StaticType for GLBaseMemory
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstGLBaseMemory> for GLBaseMemory
[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstGLBaseMemory> for GLBaseMemory
[src]type Storage = (Vec<Stash<'a, *mut GstGLBaseMemory, GLBaseMemory>>, Option<Vec<*mut GstGLBaseMemory>>)
fn to_glib_none_from_slice(
t: &'a [GLBaseMemory]
) -> (*const *mut GstGLBaseMemory, Self::Storage)
[src]
t: &'a [GLBaseMemory]
) -> (*const *mut GstGLBaseMemory, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [GLBaseMemory]
) -> (*const *mut GstGLBaseMemory, Self::Storage)
[src]
_: &'a [GLBaseMemory]
) -> (*const *mut GstGLBaseMemory, Self::Storage)
fn to_glib_full_from_slice(_: &[GLBaseMemory]) -> *const *mut GstGLBaseMemory
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstGLBaseMemory> for GLBaseMemory
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstGLBaseMemory> for GLBaseMemory
[src]type Storage = (Vec<Stash<'a, *mut GstGLBaseMemory, Self>>, Option<Vec<*mut GstGLBaseMemory>>)
fn to_glib_none_from_slice(
t: &'a [GLBaseMemory]
) -> (*mut *mut GstGLBaseMemory, Self::Storage)
[src]
t: &'a [GLBaseMemory]
) -> (*mut *mut GstGLBaseMemory, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [GLBaseMemory]
) -> (*mut *mut GstGLBaseMemory, Self::Storage)
[src]
t: &'a [GLBaseMemory]
) -> (*mut *mut GstGLBaseMemory, Self::Storage)
fn to_glib_full_from_slice(t: &[GLBaseMemory]) -> *mut *mut GstGLBaseMemory
[src]
impl<'a> ToGlibPtr<'a, *const GstGLBaseMemory> for GLBaseMemory
[src]
impl<'a> ToGlibPtr<'a, *const GstGLBaseMemory> for GLBaseMemory
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GstGLBaseMemory, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *const GstGLBaseMemory, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *const GstGLBaseMemory
[src]
fn to_glib_full(&self) -> *const GstGLBaseMemory
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtr<'a, *mut GstGLBaseMemory> for GLBaseMemory
[src]
impl<'a> ToGlibPtr<'a, *mut GstGLBaseMemory> for GLBaseMemory
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut GstGLBaseMemory, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *mut GstGLBaseMemory, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *mut GstGLBaseMemory
[src]
fn to_glib_full(&self) -> *mut GstGLBaseMemory
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtrMut<'a, *mut GstGLBaseMemory> for GLBaseMemory
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstGLBaseMemory> for GLBaseMemory
[src]impl ToValue for GLBaseMemory
[src]
impl ToValue for GLBaseMemory
[src]impl ToValueOptional for GLBaseMemory
[src]
impl ToValueOptional for GLBaseMemory
[src]fn to_value_optional(s: Option<&Self>) -> Value
[src]
fn to_value_optional(s: Option<&Self>) -> Value
[src]Convert an Option
to a Value
.
impl ValueType for GLBaseMemory
[src]
impl ValueType for GLBaseMemory
[src]impl Send for GLBaseMemory
[src]
impl Sync for GLBaseMemory
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
pub fn to_send_value(&self) -> SendValue
[src]Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,