#[repr(transparent)]pub struct EventRef(_);
Implementations
sourceimpl EventRef
impl EventRef
pub unsafe fn as_ptr(&self) -> *const GstEvent
pub unsafe fn as_mut_ptr(&self) -> *mut GstEvent
pub unsafe fn from_ptr<'a>(ptr: *const GstEvent) -> &'a Self
pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstEvent) -> &'a mut Self
pub fn copy(&self) -> Event
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
sourceimpl EventRef
impl EventRef
pub fn seqnum(&self) -> Seqnum
pub fn running_time_offset(&self) -> i64
pub fn set_running_time_offset(&mut self, offset: i64)
pub fn structure(&self) -> Option<&StructureRef>
pub fn structure_mut(&mut self) -> &mut StructureRef
pub fn is_upstream(&self) -> bool
pub fn is_downstream(&self) -> bool
pub fn is_serialized(&self) -> bool
pub fn is_sticky(&self) -> bool
pub fn is_sticky_multi(&self) -> bool
pub fn type_(&self) -> EventType
pub fn has_name(&self, name: &str) -> bool
pub fn view(&self) -> EventView<&EventRef>
Trait Implementations
sourceimpl<'a> FromValue<'a> for &'a EventRef
impl<'a> FromValue<'a> for &'a EventRef
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 StaticType for EventRef
impl StaticType for EventRef
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl ToOwned for EventRef
impl ToOwned for EventRef
impl Send for EventRef
impl Sync for EventRef
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 · sourcefn borrow_mut(&mut self) -> &mut T
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,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.