[][src]Struct gstreamer::event::EventRef

#[repr(C)]
pub struct EventRef(_);

Methods

impl EventRef[src]

pub fn get_seqnum(&self) -> Seqnum[src]

pub fn get_running_time_offset(&self) -> i64[src]

pub fn set_running_time_offset(&mut self, offset: i64)[src]

pub fn get_structure(&self) -> Option<&StructureRef>[src]

pub fn is_upstream(&self) -> bool[src]

pub fn is_downstream(&self) -> bool[src]

pub fn is_serialized(&self) -> bool[src]

pub fn is_sticky(&self) -> bool[src]

pub fn is_sticky_multi(&self) -> bool[src]

pub fn get_type(&self) -> EventType[src]

pub fn view(&self) -> EventView[src]

Trait Implementations

impl MiniObject for EventRef[src]

type GstType = GstEvent

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl AsRef<EventRef> for Event[src]

impl Sync for EventRef[src]

impl ToOwned for EventRef[src]

type Owned = Event

The resulting type after obtaining ownership.

fn clone_into(&self, target: &mut Self::Owned)[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 Send for EventRef[src]

impl Debug for EventRef[src]

impl Borrow<EventRef> for Event[src]

impl StaticType for EventRef[src]

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]