[−][src]Struct gstreamer::message::Message
Methods
impl Message
[src]
pub unsafe fn from_glib_none(ptr: *const GstMessage) -> Self
[src]
pub unsafe fn from_glib_full(ptr: *const GstMessage) -> Self
[src]
pub unsafe fn from_glib_borrow(ptr: *const GstMessage) -> Self
[src]
pub unsafe fn into_ptr(self) -> *mut GstMessage
[src]
pub fn copy(&self) -> Self
[src]
impl Message
[src]
pub fn new_eos<'a>() -> EosBuilder<'a>
[src]
pub fn new_error<T: MessageErrorDomain>(
error: T,
message: &str
) -> ErrorBuilder<T>
[src]
error: T,
message: &str
) -> ErrorBuilder<T>
pub fn new_warning<T: MessageErrorDomain>(
error: T,
message: &str
) -> WarningBuilder<T>
[src]
error: T,
message: &str
) -> WarningBuilder<T>
pub fn new_info<T: MessageErrorDomain>(
error: T,
message: &str
) -> InfoBuilder<T>
[src]
error: T,
message: &str
) -> InfoBuilder<T>
pub fn new_tag(tags: &TagList) -> TagBuilder
[src]
pub fn new_buffering<'a>(percent: i32) -> BufferingBuilder<'a>
[src]
pub fn new_state_changed<'a>(
old: State,
new: State,
pending: State
) -> StateChangedBuilder<'a>
[src]
old: State,
new: State,
pending: State
) -> StateChangedBuilder<'a>
pub fn new_state_dirty<'a>() -> StateDirtyBuilder<'a>
[src]
pub fn new_step_done<'a, V: Into<GenericFormattedValue>>(
amount: V,
rate: f64,
flush: bool,
intermediate: bool,
duration: V,
eos: bool
) -> StepDoneBuilder<'a>
[src]
amount: V,
rate: f64,
flush: bool,
intermediate: bool,
duration: V,
eos: bool
) -> StepDoneBuilder<'a>
pub fn new_clock_provide(clock: &Clock, ready: bool) -> ClockProvideBuilder
[src]
pub fn new_clock_lost(clock: &Clock) -> ClockLostBuilder
[src]
pub fn new_new_clock(clock: &Clock) -> NewClockBuilder
[src]
pub fn new_structure_change(
type_: StructureChangeType,
owner: &Element,
busy: bool
) -> StructureChangeBuilder
[src]
type_: StructureChangeType,
owner: &Element,
busy: bool
) -> StructureChangeBuilder
pub fn new_stream_status(
type_: StreamStatusType,
owner: &Element
) -> StreamStatusBuilder
[src]
type_: StreamStatusType,
owner: &Element
) -> StreamStatusBuilder
pub fn new_application<'a>(structure: Structure) -> ApplicationBuilder<'a>
[src]
pub fn new_element<'a>(structure: Structure) -> ElementBuilder<'a>
[src]
pub fn new_segment_start<'a, V: Into<GenericFormattedValue>>(
position: V
) -> SegmentStartBuilder<'a>
[src]
position: V
) -> SegmentStartBuilder<'a>
pub fn new_segment_done<'a, V: Into<GenericFormattedValue>>(
position: V
) -> SegmentDoneBuilder<'a>
[src]
position: V
) -> SegmentDoneBuilder<'a>
pub fn new_duration_changed<'a>() -> DurationChangedBuilder<'a>
[src]
pub fn new_latency<'a>() -> LatencyBuilder<'a>
[src]
pub fn new_async_start<'a>() -> AsyncStartBuilder<'a>
[src]
pub fn new_async_done<'a>(running_time: ClockTime) -> AsyncDoneBuilder<'a>
[src]
pub fn new_request_state<'a>(state: State) -> RequestStateBuilder<'a>
[src]
pub fn new_step_start<'a, V: Into<GenericFormattedValue>>(
active: bool,
amount: V,
rate: f64,
flush: bool,
intermediate: bool
) -> StepStartBuilder<'a>
[src]
active: bool,
amount: V,
rate: f64,
flush: bool,
intermediate: bool
) -> StepStartBuilder<'a>
pub fn new_qos_builder<'a>(
live: bool,
running_time: ClockTime,
stream_time: ClockTime,
timestamp: ClockTime,
duration: ClockTime
) -> QosBuilder<'a>
[src]
live: bool,
running_time: ClockTime,
stream_time: ClockTime,
timestamp: ClockTime,
duration: ClockTime
) -> QosBuilder<'a>
pub fn new_progress<'a>(
type_: ProgressType,
code: &'a str,
text: &'a str
) -> ProgressBuilder<'a>
[src]
type_: ProgressType,
code: &'a str,
text: &'a str
) -> ProgressBuilder<'a>
pub fn new_toc(toc: &Toc, updated: bool) -> TocBuilder
[src]
pub fn new_reset_time<'a>(running_time: ClockTime) -> ResetTimeBuilder<'a>
[src]
pub fn new_stream_start<'a>() -> StreamStartBuilder<'a>
[src]
pub fn new_need_context(context_type: &str) -> NeedContextBuilder
[src]
pub fn new_have_context<'a>(context: Context) -> HaveContextBuilder<'a>
[src]
pub fn new_device_added(device: &Device) -> DeviceAddedBuilder
[src]
pub fn new_device_removed(device: &Device) -> DeviceRemovedBuilder
[src]
Methods from Deref<Target = GstRc<MessageRef>>
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<MessageRef> for Message
[src]
fn as_ref(&self) -> &MessageRef
[src]
impl Clone for Message
[src]
fn clone(&self) -> Message
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<GstRc<MessageRef>> for Message
[src]
fn from(rc: GstRc<MessageRef>) -> Message
[src]
impl Into<GstRc<MessageRef>> for Message
[src]
fn into(self) -> GstRc<MessageRef>
[src]
impl DerefMut for Message
[src]
impl Deref for Message
[src]
type Target = GstRc<MessageRef>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Debug for Message
[src]
impl Borrow<MessageRef> for Message
[src]
fn borrow(&self) -> &MessageRef
[src]
impl FromGlibPtrFull<*const GstMessage> for Message
[src]
unsafe fn from_glib_full(ptr: *const GstMessage) -> Self
[src]
impl FromGlibPtrFull<*mut GstMessage> for Message
[src]
unsafe fn from_glib_full(ptr: *mut GstMessage) -> Self
[src]
impl<'a> ToGlibPtr<'a, *const GstMessage> for Message
[src]
type Storage = Stash<'a, *const GstMessage, GstRc<MessageRef>>
fn to_glib_none(&'a self) -> Stash<'a, *const GstMessage, Self>
[src]
fn to_glib_full(&self) -> *const GstMessage
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more
impl<'a> ToGlibPtr<'a, *mut GstMessage> for Message
[src]
type Storage = Stash<'a, *mut GstMessage, GstRc<MessageRef>>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstMessage, Self>
[src]
fn to_glib_full(&self) -> *mut GstMessage
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more
impl FromGlibContainerAsVec<*mut GstMessage, *mut *mut GstMessage> for Message
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstMessage,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstMessage,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstMessage,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstMessage,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstMessage,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstMessage,
num: usize
) -> Vec<Self>
impl FromGlibContainerAsVec<*mut GstMessage, *const *mut GstMessage> for Message
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstMessage,
num: usize
) -> Vec<Self>
[src]
ptr: *const *mut GstMessage,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstMessage,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstMessage,
_: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstMessage,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstMessage,
_: usize
) -> Vec<Self>
impl<'a> ToGlibPtrMut<'a, *mut GstMessage> for Message
[src]
type Storage = StashMut<'a, *mut GstMessage, GstRc<MessageRef>>
fn to_glib_none_mut(&'a mut self) -> StashMut<*mut GstMessage, Self>
[src]
impl GlibPtrDefault for Message
[src]
type GlibType = *mut GstMessage
impl FromGlibPtrNone<*const GstMessage> for Message
[src]
unsafe fn from_glib_none(ptr: *const GstMessage) -> Self
[src]
impl FromGlibPtrNone<*mut GstMessage> for Message
[src]
unsafe fn from_glib_none(ptr: *mut GstMessage) -> Self
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstMessage, *mut *mut GstMessage> for Message
[src]
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstMessage) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstMessage) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstMessage) -> Vec<Self>
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstMessage, *const *mut GstMessage> for Message
[src]
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstMessage) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(_: *const *mut GstMessage) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(_: *const *mut GstMessage) -> Vec<Self>
[src]
impl FromGlibPtrBorrow<*const GstMessage> for Message
[src]
unsafe fn from_glib_borrow(ptr: *const GstMessage) -> Self
[src]
impl FromGlibPtrBorrow<*mut GstMessage> for Message
[src]
unsafe fn from_glib_borrow(ptr: *mut GstMessage) -> Self
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstMessage> for Message
[src]
type Storage = (Vec<Stash<'a, *mut GstMessage, Message>>, Option<Vec<*mut GstMessage>>)
fn to_glib_none_from_slice(
t: &'a [Message]
) -> (*mut *mut GstMessage, Self::Storage)
[src]
t: &'a [Message]
) -> (*mut *mut GstMessage, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [Message]
) -> (*mut *mut GstMessage, Self::Storage)
[src]
t: &'a [Message]
) -> (*mut *mut GstMessage, Self::Storage)
fn to_glib_full_from_slice(t: &[Message]) -> *mut *mut GstMessage
[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstMessage> for Message
[src]
type Storage = (Vec<Stash<'a, *mut GstMessage, Message>>, Option<Vec<*mut GstMessage>>)
fn to_glib_none_from_slice(
t: &'a [Message]
) -> (*const *mut GstMessage, Self::Storage)
[src]
t: &'a [Message]
) -> (*const *mut GstMessage, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [Message]
) -> (*const *mut GstMessage, Self::Storage)
[src]
_: &'a [Message]
) -> (*const *mut GstMessage, Self::Storage)
fn to_glib_full_from_slice(_: &[Message]) -> *const *mut GstMessage
[src]
impl StaticType for Message
[src]
fn static_type() -> Type
[src]
impl<'a> FromValueOptional<'a> for Message
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
impl SetValue for Message
[src]
impl SetValueOptional for Message
[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,