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

pub struct Event { /* fields omitted */ }

Implementations

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) -> Borrowed<Self>[src]

pub unsafe fn replace_ptr(&mut self, ptr: *mut GstEvent)[src]

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

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

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

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

impl Event[src]

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

👎 Deprecated since 0.16.0:

use event::FlushStart::new or event::FlushStart::builder instead

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

👎 Deprecated since 0.16.0:

use event::FlushStop::new or event::FlushStop::builder instead

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

👎 Deprecated since 0.16.0:

use event::StreamStart::new or event::StreamStart::builder instead

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

👎 Deprecated since 0.16.0:

use event::Caps::new or event::Caps::builder instead

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

👎 Deprecated since 0.16.0:

use event::Segment::new or event::Segment::builder instead

pub fn new_stream_collection(
    stream_collection: &StreamCollection
) -> StreamCollectionBuilder<'_>
[src]

👎 Deprecated since 0.16.0:

use event::StreamCollection::new or event::StreamCollection::builder instead

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

👎 Deprecated since 0.16.0:

use event::Tag::new or event::Tag::builder instead

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

👎 Deprecated since 0.16.0:

use event::BufferSize::new or event::BufferSize::builder instead

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

👎 Deprecated since 0.16.0:

use event::SinkMessage::new or event::SinkMessage::builder instead

pub fn new_stream_group_done<'a>(
    group_id: GroupId
) -> StreamGroupDoneBuilder<'a>
[src]

👎 Deprecated since 0.16.0:

use event::StreamGroupDone::new or event::StreamGroupDone::builder instead

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

👎 Deprecated since 0.16.0:

use event::Eos::new or event::Eos::builder instead

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

👎 Deprecated since 0.16.0:

use event::Toc::new or event::Toc::builder instead

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

👎 Deprecated since 0.16.0:

use event::Protection::new or event::Protection::builder instead

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

👎 Deprecated since 0.16.0:

use event::SegmentDone::new or event::SegmentDone::builder instead

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

👎 Deprecated since 0.16.0:

use event::Gap::new or event::Gap::builder instead

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

👎 Deprecated since 0.16.0:

use event::Qos::new or event::Qos::builder instead

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]

👎 Deprecated since 0.16.0:

use event::Seek::new or event::Seek::builder instead

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

👎 Deprecated since 0.16.0:

use event::Navigation::new or event::Navigation::builder instead

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

👎 Deprecated since 0.16.0:

use event::Latency::new or event::Latency::builder instead

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

👎 Deprecated since 0.16.0:

use event::Step::new or event::Step::builder instead

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

👎 Deprecated since 0.16.0:

use event::Reconfigure::new or event::Reconfigure::builder instead

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

👎 Deprecated since 0.16.0:

use event::TocSelect::new or event::TocSelect::builder instead

pub fn new_select_streams<'a>(
    streams: &'a [&'a str]
) -> SelectStreamsBuilder<'a>
[src]

👎 Deprecated since 0.16.0:

use event::SelectStreams::new or event::SelectStreams::builder instead

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

👎 Deprecated since 0.16.0:

use event::CustomUpstream::new or event::CustomUpstream::builder instead

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

👎 Deprecated since 0.16.0:

use event::CustomDownstream::new or event::CustomDownstream::builder instead

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

👎 Deprecated since 0.16.0:

use event::CustomDownstreamOob::new or event::CustomDownstreamOob::builder instead

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

👎 Deprecated since 0.16.0:

use event::CustomDownstreamSticky::new or event::CustomDownstreamSticky::builder instead

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

👎 Deprecated since 0.16.0:

use event::CustomBoth::new or event::CustomBoth::builder instead

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

👎 Deprecated since 0.16.0:

use event::CustomBothOob::new or event::CustomBothOob::builder instead

Methods from Deref<Target = EventRef>

pub unsafe fn as_ptr(&self) -> *const GstEvent[src]

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

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

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

pub fn get_running_time_offset(&self) -> 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 AsRef<EventRef> for Event[src]

impl Borrow<EventRef> for Event[src]

impl Clone for Event[src]

impl Debug for Event[src]

impl Deref for Event[src]

type Target = EventRef

The resulting type after dereferencing.

impl Drop for Event[src]

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

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

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

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

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

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

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

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

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

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

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

impl GlibPtrDefault for Event[src]

impl Send for Event[src]

impl SetValue for Event[src]

impl SetValueOptional for Event[src]

impl StaticType for Event[src]

impl Sync for Event[src]

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

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

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

type Storage = &'a Self

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

type Storage = &'a Self

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

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for Event

impl Unpin for Event

impl UnwindSafe for Event

Blanket Implementations

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

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

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

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

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> ToValue for T where
    T: SetValue + ?Sized
[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.