[−][src]Struct gstreamer::event::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]
segment: &FormattedSegment<F>
) -> SegmentBuilder
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]
minsize: V,
maxsize: V,
async: bool
) -> BufferSizeBuilder<'a>
pub fn new_sink_message<'a>(
name: &'a str,
msg: &'a Message
) -> SinkMessageBuilder<'a>
[src]
name: &'a str,
msg: &'a Message
) -> SinkMessageBuilder<'a>
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]
system_id: &'a str,
data: &'a Buffer
) -> ProtectionBuilder<'a>
pub fn new_segment_done<'a, V: Into<GenericFormattedValue>>(
position: V
) -> SegmentDoneBuilder<'a>
[src]
position: V
) -> SegmentDoneBuilder<'a>
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]
type_: QOSType,
proportion: f64,
diff: i64,
timestamp: ClockTime
) -> QosBuilder<'a>
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]
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: V,
stop_type: SeekType,
stop: V
) -> SeekBuilder<'a>
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]
amount: V,
rate: f64,
flush: bool,
intermediate: bool
) -> StepBuilder<'a>
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]
structure: Structure
) -> CustomUpstreamBuilder<'a>
pub fn new_custom_downstream<'a>(
structure: Structure
) -> CustomDownstreamBuilder<'a>
[src]
structure: Structure
) -> CustomDownstreamBuilder<'a>
pub fn new_custom_downstream_oob<'a>(
structure: Structure
) -> CustomDownstreamOobBuilder<'a>
[src]
structure: Structure
) -> CustomDownstreamOobBuilder<'a>
pub fn new_custom_downstream_sticky<'a>(
structure: Structure
) -> CustomDownstreamStickyBuilder<'a>
[src]
structure: Structure
) -> CustomDownstreamStickyBuilder<'a>
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(&self) -> 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.
fn deref(&self) -> &Self::Target
[src]
impl Debug for Event
[src]
impl Borrow<EventRef> for Event
[src]
impl FromGlibPtrFull<*const GstEvent> for Event
[src]
unsafe fn from_glib_full(ptr: *const GstEvent) -> Self
[src]
impl FromGlibPtrFull<*mut GstEvent> for Event
[src]
unsafe fn from_glib_full(ptr: *mut GstEvent) -> Self
[src]
impl<'a> ToGlibPtr<'a, *const GstEvent> for Event
[src]
type Storage = Stash<'a, *const GstEvent, GstRc<EventRef>>
fn to_glib_none(&'a self) -> Stash<'a, *const GstEvent, Self>
[src]
fn to_glib_full(&self) -> *const GstEvent
[src]
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_none(&'a self) -> Stash<'a, *mut GstEvent, Self>
[src]
fn to_glib_full(&self) -> *mut GstEvent
[src]
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]
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstEvent,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstEvent,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstEvent,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstEvent,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstEvent,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstEvent,
num: usize
) -> Vec<Self>
impl FromGlibContainerAsVec<*mut GstEvent, *const *mut GstEvent> for Event
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstEvent,
num: usize
) -> Vec<Self>
[src]
ptr: *const *mut GstEvent,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstEvent,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstEvent,
_: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstEvent,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstEvent,
_: usize
) -> Vec<Self>
impl<'a> ToGlibPtrMut<'a, *mut GstEvent> for Event
[src]
type Storage = StashMut<'a, *mut GstEvent, GstRc<EventRef>>
fn to_glib_none_mut(&'a mut self) -> StashMut<*mut GstEvent, Self>
[src]
impl GlibPtrDefault for Event
[src]
impl FromGlibPtrNone<*const GstEvent> for Event
[src]
unsafe fn from_glib_none(ptr: *const GstEvent) -> Self
[src]
impl FromGlibPtrNone<*mut GstEvent> for Event
[src]
unsafe fn from_glib_none(ptr: *mut GstEvent) -> Self
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstEvent, *mut *mut GstEvent> for Event
[src]
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstEvent) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstEvent) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstEvent) -> Vec<Self>
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstEvent, *const *mut GstEvent> for Event
[src]
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstEvent) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(_: *const *mut GstEvent) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(_: *const *mut GstEvent) -> Vec<Self>
[src]
impl FromGlibPtrBorrow<*const GstEvent> for Event
[src]
unsafe fn from_glib_borrow(ptr: *const GstEvent) -> Self
[src]
impl FromGlibPtrBorrow<*mut GstEvent> for Event
[src]
unsafe fn from_glib_borrow(ptr: *mut GstEvent) -> Self
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstEvent> for Event
[src]
type Storage = (Vec<Stash<'a, *mut GstEvent, Event>>, Option<Vec<*mut GstEvent>>)
fn to_glib_none_from_slice(
t: &'a [Event]
) -> (*mut *mut GstEvent, Self::Storage)
[src]
t: &'a [Event]
) -> (*mut *mut GstEvent, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [Event]
) -> (*mut *mut GstEvent, Self::Storage)
[src]
t: &'a [Event]
) -> (*mut *mut GstEvent, Self::Storage)
fn to_glib_full_from_slice(t: &[Event]) -> *mut *mut GstEvent
[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstEvent> for Event
[src]
type Storage = (Vec<Stash<'a, *mut GstEvent, Event>>, Option<Vec<*mut GstEvent>>)
fn to_glib_none_from_slice(
t: &'a [Event]
) -> (*const *mut GstEvent, Self::Storage)
[src]
t: &'a [Event]
) -> (*const *mut GstEvent, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [Event]
) -> (*const *mut GstEvent, Self::Storage)
[src]
_: &'a [Event]
) -> (*const *mut GstEvent, Self::Storage)
fn to_glib_full_from_slice(_: &[Event]) -> *const *mut GstEvent
[src]
impl StaticType for Event
[src]
fn static_type() -> Type
[src]
impl<'a> FromValueOptional<'a> for Event
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
impl SetValue for Event
[src]
impl SetValueOptional for Event
[src]
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GList
[src]
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GArray
[src]
impl<'a, T> ToGlibContainerFromSlice for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GList
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,