Struct gstreamer::message::MessageRef
source · [−]#[repr(transparent)]pub struct MessageRef(_);
Implementations
sourceimpl MessageRef
impl MessageRef
pub unsafe fn as_ptr(&self) -> *const GstMessage
pub unsafe fn as_mut_ptr(&self) -> *mut GstMessage
pub unsafe fn from_ptr<'a>(ptr: *const GstMessage) -> &'a Self
pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstMessage) -> &'a mut Self
pub fn copy(&self) -> Message
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
sourceimpl MessageRef
impl MessageRef
Trait Implementations
sourceimpl AsRef<MessageRef> for Message
impl AsRef<MessageRef> for Message
sourcefn as_ref(&self) -> &MessageRef
fn as_ref(&self) -> &MessageRef
Performs the conversion.
sourceimpl Borrow<MessageRef> for Message
impl Borrow<MessageRef> for Message
sourcefn borrow(&self) -> &MessageRef
fn borrow(&self) -> &MessageRef
Immutably borrows from an owned value. Read more
sourceimpl Debug for MessageRef
impl Debug for MessageRef
sourceimpl<'a> FromValue<'a> for &'a MessageRef
impl<'a> FromValue<'a> for &'a MessageRef
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl GlibPtrDefault for MessageRef
impl GlibPtrDefault for MessageRef
type GlibType = *mut GstMessage
sourceimpl StaticType for MessageRef
impl StaticType for MessageRef
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl ToOwned for MessageRef
impl ToOwned for MessageRef
impl Send for MessageRef
impl Sync for MessageRef
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcepub fn ensure_type()
pub fn ensure_type()
Ensures that the type has been registered with the type system.