Struct gstreamer_rtsp_server::RTSPTokenRef
source · pub struct RTSPTokenRef(/* private fields */);
Implementations§
source§impl RTSPTokenRef
impl RTSPTokenRef
pub fn as_ptr(&self) -> *const GstRTSPToken
pub fn as_mut_ptr(&self) -> *mut GstRTSPToken
pub unsafe fn from_ptr<'a>(ptr: *const GstRTSPToken) -> &'a Self
pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstRTSPToken) -> &'a mut Self
pub fn copy(&self) -> RTSPToken
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
pub fn ptr_eq(this: &RTSPTokenRef, other: &RTSPTokenRef) -> bool
source§impl RTSPTokenRef
impl RTSPTokenRef
Trait Implementations§
source§impl AsRef<RTSPTokenRef> for RTSPToken
impl AsRef<RTSPTokenRef> for RTSPToken
source§fn as_ref(&self) -> &RTSPTokenRef
fn as_ref(&self) -> &RTSPTokenRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<RTSPTokenRef> for RTSPToken
impl Borrow<RTSPTokenRef> for RTSPToken
source§fn borrow(&self) -> &RTSPTokenRef
fn borrow(&self) -> &RTSPTokenRef
Immutably borrows from an owned value. Read more
source§impl Debug for RTSPTokenRef
impl Debug for RTSPTokenRef
source§impl<'a> FromValue<'a> for &'a RTSPTokenRef
impl<'a> FromValue<'a> for &'a RTSPTokenRef
§type Checker = GenericValueTypeOrNoneChecker<&'a RTSPTokenRef>
type Checker = GenericValueTypeOrNoneChecker<&'a RTSPTokenRef>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl GlibPtrDefault for RTSPTokenRef
impl GlibPtrDefault for RTSPTokenRef
type GlibType = *mut GstRTSPToken
source§impl StaticType for RTSPTokenRef
impl StaticType for RTSPTokenRef
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToOwned for RTSPTokenRef
impl ToOwned for RTSPTokenRef
impl Send for RTSPTokenRef
impl Sync for RTSPTokenRef
Auto Trait Implementations§
impl Freeze for RTSPTokenRef
impl RefUnwindSafe for RTSPTokenRef
impl Unpin for RTSPTokenRef
impl UnwindSafe for RTSPTokenRef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.