[][src]Struct gstreamer::event::Event

pub struct Event(_);

Methods

impl Event[src]

pub unsafe fn from_glib_none(ptr: *const GstEvent) -> Self[src]

pub unsafe fn from_glib_full(ptr: *const GstEvent) -> Self[src]

pub unsafe fn from_glib_borrow(ptr: *const GstEvent) -> Self[src]

pub unsafe fn into_ptr(self) -> *mut GstEvent[src]

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

impl Event[src]

pub fn new_flush_start<'a>() -> FlushStartBuilder<'a>[src]

pub fn new_flush_stop<'a>(reset_time: bool) -> FlushStopBuilder<'a>[src]

pub fn new_stream_start(stream_id: &str) -> StreamStartBuilder[src]

pub fn new_caps(caps: &Caps) -> CapsBuilder[src]

pub fn new_segment<F: FormattedValue>(
    segment: &FormattedSegment<F>
) -> SegmentBuilder
[src]

pub fn new_tag<'a>(tags: TagList) -> TagBuilder<'a>[src]

pub fn new_buffer_size<'a, V: Into<GenericFormattedValue>>(
    minsize: V,
    maxsize: V,
    async: bool
) -> BufferSizeBuilder<'a>
[src]

pub fn new_sink_message<'a>(
    name: &'a str,
    msg: &'a Message
) -> SinkMessageBuilder<'a>
[src]

pub fn new_eos<'a>() -> EosBuilder<'a>[src]

pub fn new_toc(toc: &Toc, updated: bool) -> TocBuilder[src]

pub fn new_protection<'a>(
    system_id: &'a str,
    data: &'a Buffer
) -> ProtectionBuilder<'a>
[src]

pub fn new_segment_done<'a, V: Into<GenericFormattedValue>>(
    position: V
) -> SegmentDoneBuilder<'a>
[src]

pub fn new_gap<'a>(timestamp: ClockTime, duration: ClockTime) -> GapBuilder<'a>[src]

pub fn new_qos<'a>(
    type_: QOSType,
    proportion: f64,
    diff: i64,
    timestamp: ClockTime
) -> QosBuilder<'a>
[src]

pub fn new_seek<'a, V: Into<GenericFormattedValue>>(
    rate: f64,
    flags: SeekFlags,
    start_type: SeekType,
    start: V,
    stop_type: SeekType,
    stop: V
) -> SeekBuilder<'a>
[src]

pub fn new_navigation<'a>(structure: Structure) -> NavigationBuilder<'a>[src]

pub fn new_latency<'a>(latency: ClockTime) -> LatencyBuilder<'a>[src]

pub fn new_step<'a, V: Into<GenericFormattedValue>>(
    amount: V,
    rate: f64,
    flush: bool,
    intermediate: bool
) -> StepBuilder<'a>
[src]

pub fn new_reconfigure<'a>() -> ReconfigureBuilder<'a>[src]

pub fn new_toc_select(uid: &str) -> TocSelectBuilder[src]

pub fn new_custom_upstream<'a>(
    structure: Structure
) -> CustomUpstreamBuilder<'a>
[src]

pub fn new_custom_downstream<'a>(
    structure: Structure
) -> CustomDownstreamBuilder<'a>
[src]

pub fn new_custom_downstream_oob<'a>(
    structure: Structure
) -> CustomDownstreamOobBuilder<'a>
[src]

pub fn new_custom_downstream_sticky<'a>(
    structure: Structure
) -> CustomDownstreamStickyBuilder<'a>
[src]

pub fn new_custom_both<'a>(structure: Structure) -> CustomBothBuilder<'a>[src]

pub fn new_custom_both_oob<'a>(structure: Structure) -> CustomBothOobBuilder<'a>[src]

Methods from Deref<Target = GstRc<EventRef>>

pub fn make_mut(&mut self) -> &mut T[src]

pub fn get_mut(&mut self) -> Option<&mut T>[src]

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

Trait Implementations

impl AsRef<EventRef> for Event[src]

impl Clone for Event[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<GstRc<EventRef>> for Event[src]

impl Into<GstRc<EventRef>> for Event[src]

impl DerefMut for Event[src]

impl Deref for Event[src]

type Target = GstRc<EventRef>

The resulting type after dereferencing.

impl Debug for Event[src]

impl Borrow<EventRef> for Event[src]

impl FromGlibPtrFull<*const GstEvent> for Event[src]

impl FromGlibPtrFull<*mut GstEvent> for Event[src]

impl<'a> ToGlibPtr<'a, *const GstEvent> for Event[src]

type Storage = Stash<'a, *const GstEvent, GstRc<EventRef>>

fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]

Transfer: container. Read more

impl<'a> ToGlibPtr<'a, *mut GstEvent> for Event[src]

type Storage = Stash<'a, *mut GstEvent, GstRc<EventRef>>

fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]

Transfer: container. Read more

impl FromGlibContainerAsVec<*mut GstEvent, *mut *mut GstEvent> for Event[src]

impl FromGlibContainerAsVec<*mut GstEvent, *const *mut GstEvent> for Event[src]

impl<'a> ToGlibPtrMut<'a, *mut GstEvent> for Event[src]

type Storage = StashMut<'a, *mut GstEvent, GstRc<EventRef>>

impl GlibPtrDefault for Event[src]

impl FromGlibPtrNone<*const GstEvent> for Event[src]

impl FromGlibPtrNone<*mut GstEvent> for Event[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstEvent, *mut *mut GstEvent> for Event[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstEvent, *const *mut GstEvent> for Event[src]

impl FromGlibPtrBorrow<*const GstEvent> for Event[src]

impl FromGlibPtrBorrow<*mut GstEvent> for Event[src]

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstEvent> for Event[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstEvent> for Event[src]

impl StaticType for Event[src]

impl<'a> FromValueOptional<'a> for Event[src]

impl SetValue for Event[src]

impl SetValueOptional for Event[src]

Auto Trait Implementations

impl Send for Event

impl Sync for Event

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<'a, T> ToGlibContainerFromSlice for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]