Struct gstreamer::miniobject::GstRc
[−]
[src]
pub struct GstRc<T: MiniObject> { /* fields omitted */ }
Methods
impl<T: MiniObject> GstRc<T>
[src]
unsafe fn from_glib_none(ptr: *const T::GstType) -> Self
[src]
unsafe fn from_glib_full(ptr: *const T::GstType) -> Self
[src]
unsafe fn from_glib_borrow(ptr: *const T::GstType) -> Self
[src]
fn make_mut(&mut self) -> &mut T
[src]
fn get_mut(&mut self) -> Option<&mut T>
[src]
fn is_writable(&self) -> bool
[src]
unsafe fn into_ptr(self) -> *mut T::GstType
[src]
impl GstRc<MessageRef>
[src]
fn new_eos<'a>() -> EosBuilder<'a>
[src]
fn new_error<T: MessageErrorDomain>(error: T, message: &str) -> ErrorBuilder<T>
[src]
fn new_warning<T: MessageErrorDomain>(
error: T,
message: &str
) -> WarningBuilder<T>
[src]
error: T,
message: &str
) -> WarningBuilder<T>
fn new_info<T: MessageErrorDomain>(error: T, message: &str) -> InfoBuilder<T>
[src]
fn new_tag(tags: &TagList) -> TagBuilder
[src]
fn new_buffering<'a>(percent: i32) -> BufferingBuilder<'a>
[src]
fn new_state_changed<'a>(
old: State,
new: State,
pending: State
) -> StateChangedBuilder<'a>
[src]
old: State,
new: State,
pending: State
) -> StateChangedBuilder<'a>
fn new_state_dirty<'a>() -> StateDirtyBuilder<'a>
[src]
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>
fn new_clock_provide(clock: &Clock, ready: bool) -> ClockProvideBuilder
[src]
fn new_clock_lost(clock: &Clock) -> ClockLostBuilder
[src]
fn new_new_clock(clock: &Clock) -> NewClockBuilder
[src]
fn new_structure_change(
type_: StructureChangeType,
owner: &Element,
busy: bool
) -> StructureChangeBuilder
[src]
type_: StructureChangeType,
owner: &Element,
busy: bool
) -> StructureChangeBuilder
fn new_stream_status(
type_: StreamStatusType,
owner: &Element
) -> StreamStatusBuilder
[src]
type_: StreamStatusType,
owner: &Element
) -> StreamStatusBuilder
fn new_application<'a>(structure: Structure) -> ApplicationBuilder<'a>
[src]
fn new_element<'a>(structure: Structure) -> ElementBuilder<'a>
[src]
fn new_segment_start<'a, V: Into<GenericFormattedValue>>(
position: V
) -> SegmentStartBuilder<'a>
[src]
position: V
) -> SegmentStartBuilder<'a>
fn new_segment_done<'a, V: Into<GenericFormattedValue>>(
position: V
) -> SegmentDoneBuilder<'a>
[src]
position: V
) -> SegmentDoneBuilder<'a>
fn new_duration_changed<'a>() -> DurationChangedBuilder<'a>
[src]
fn new_latency<'a>() -> LatencyBuilder<'a>
[src]
fn new_async_start<'a>() -> AsyncStartBuilder<'a>
[src]
fn new_async_done<'a>(running_time: ClockTime) -> AsyncDoneBuilder<'a>
[src]
fn new_request_state<'a>(state: State) -> RequestStateBuilder<'a>
[src]
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>
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>
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>
fn new_toc(toc: &Toc, updated: bool) -> TocBuilder
[src]
fn new_reset_time<'a>(running_time: ClockTime) -> ResetTimeBuilder<'a>
[src]
fn new_stream_start<'a>() -> StreamStartBuilder<'a>
[src]
fn new_need_context(context_type: &str) -> NeedContextBuilder
[src]
fn new_have_context<'a>(context: Context) -> HaveContextBuilder<'a>
[src]
fn new_device_added(device: &Device) -> DeviceAddedBuilder
[src]
fn new_device_removed(device: &Device) -> DeviceRemovedBuilder
[src]
impl GstRc<CapsRef>
[src]
fn builder(name: &str) -> Builder
[src]
fn new_empty() -> Self
[src]
fn new_any() -> Self
[src]
fn new_simple(name: &str, values: &[(&str, &ToSendValue)]) -> Self
[src]
fn from_string(value: &str) -> Option<Self>
[src]
fn fixate(caps: Self) -> Self
[src]
fn merge(caps: Self, other: Self) -> Self
[src]
fn merge_structure(caps: Self, other: Structure) -> Self
[src]
fn normalize(caps: Self) -> Self
[src]
fn simplify(caps: Self) -> Self
[src]
fn subtract(caps: Self, other: Self) -> Self
[src]
fn truncate(caps: Self) -> Self
[src]
impl GstRc<TagListRef>
[src]
impl GstRc<BufferRef>
[src]
fn new() -> Self
[src]
fn with_size(size: usize) -> Option<Self>
[src]
fn from_mut_slice<T: AsMut<[u8]> + Send + 'static>(slice: T) -> Option<Self>
[src]
fn from_slice<T: AsRef<[u8]> + Send + 'static>(slice: T) -> Option<Self>
[src]
fn into_mapped_buffer_readable(self) -> Result<MappedBuffer<Readable>, Self>
[src]
fn into_mapped_buffer_writable(self) -> Result<MappedBuffer<Writable>, Self>
[src]
fn append(buffer: Self, other: Self) -> Self
[src]
impl GstRc<SampleRef>
[src]
fn new<F: FormattedValue>(
buffer: Option<&Buffer>,
caps: Option<&Caps>,
segment: Option<&FormattedSegment<F>>,
info: Option<&StructureRef>
) -> Self
[src]
buffer: Option<&Buffer>,
caps: Option<&Caps>,
segment: Option<&FormattedSegment<F>>,
info: Option<&StructureRef>
) -> Self
fn with_buffer_list<F: FormattedValue>(
buffer_list: Option<&BufferList>,
caps: Option<&Caps>,
segment: Option<&FormattedSegment<F>>,
info: Option<&StructureRef>
) -> Self
[src]
buffer_list: Option<&BufferList>,
caps: Option<&Caps>,
segment: Option<&FormattedSegment<F>>,
info: Option<&StructureRef>
) -> Self
impl GstRc<BufferListRef>
[src]
impl GstRc<QueryRef>
[src]
fn new_position(fmt: Format) -> Self
[src]
fn new_duration(fmt: Format) -> Self
[src]
fn new_latency() -> Self
[src]
fn new_seeking(fmt: Format) -> Self
[src]
fn new_segment(fmt: Format) -> Self
[src]
fn new_convert<V: Into<GenericFormattedValue>>(
value: V,
dest_fmt: Format
) -> Self
[src]
value: V,
dest_fmt: Format
) -> Self
fn new_formats() -> Self
[src]
fn new_buffering(fmt: Format) -> Self
[src]
fn new_custom(structure: Structure) -> Self
[src]
fn new_uri() -> Self
[src]
fn new_scheduling() -> Self
[src]
fn new_accept_caps(caps: &Caps) -> Self
[src]
fn new_caps<'a, P: Into<Option<&'a Caps>>>(filter: P) -> Self
[src]
fn new_drain() -> Self
[src]
fn new_context(context_type: &str) -> Self
[src]
impl GstRc<EventRef>
[src]
fn new_flush_start<'a>() -> FlushStartBuilder<'a>
[src]
fn new_flush_stop<'a>(reset_time: bool) -> FlushStopBuilder<'a>
[src]
fn new_stream_start(stream_id: &str) -> StreamStartBuilder
[src]
fn new_caps(caps: &Caps) -> CapsBuilder
[src]
fn new_segment<F: FormattedValue>(
segment: &FormattedSegment<F>
) -> SegmentBuilder
[src]
segment: &FormattedSegment<F>
) -> SegmentBuilder
fn new_tag<'a>(tags: TagList) -> TagBuilder<'a>
[src]
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>
fn new_sink_message<'a>(
name: &'a str,
msg: &'a Message
) -> SinkMessageBuilder<'a>
[src]
name: &'a str,
msg: &'a Message
) -> SinkMessageBuilder<'a>
fn new_eos<'a>() -> EosBuilder<'a>
[src]
fn new_toc(toc: &Toc, updated: bool) -> TocBuilder
[src]
fn new_protection<'a>(
system_id: &'a str,
data: &'a Buffer
) -> ProtectionBuilder<'a>
[src]
system_id: &'a str,
data: &'a Buffer
) -> ProtectionBuilder<'a>
fn new_segment_done<'a, V: Into<GenericFormattedValue>>(
position: V
) -> SegmentDoneBuilder<'a>
[src]
position: V
) -> SegmentDoneBuilder<'a>
fn new_gap<'a>(timestamp: ClockTime, duration: ClockTime) -> GapBuilder<'a>
[src]
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>
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>
[src]
fn new_latency<'a>(latency: ClockTime) -> LatencyBuilder<'a>
[src]
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>
fn new_reconfigure<'a>() -> ReconfigureBuilder<'a>
[src]
fn new_toc_select(uid: &str) -> TocSelectBuilder
[src]
fn new_custom_upstream<'a>(structure: Structure) -> CustomUpstreamBuilder<'a>
[src]
fn new_custom_downstream<'a>(
structure: Structure
) -> CustomDownstreamBuilder<'a>
[src]
structure: Structure
) -> CustomDownstreamBuilder<'a>
fn new_custom_downstream_oob<'a>(
structure: Structure
) -> CustomDownstreamOobBuilder<'a>
[src]
structure: Structure
) -> CustomDownstreamOobBuilder<'a>
fn new_custom_downstream_sticky<'a>(
structure: Structure
) -> CustomDownstreamStickyBuilder<'a>
[src]
structure: Structure
) -> CustomDownstreamStickyBuilder<'a>
fn new_custom_both<'a>(structure: Structure) -> CustomBothBuilder<'a>
[src]
fn new_custom_both_oob<'a>(structure: Structure) -> CustomBothOobBuilder<'a>
[src]
impl GstRc<ContextRef>
[src]
impl GstRc<TocRef>
[src]
impl GstRc<TocEntryRef>
[src]
fn new(type_: TocEntryType, uid: &str) -> Self
[src]
Trait Implementations
impl<T: MiniObject> Deref for GstRc<T>
[src]
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
[src]
Dereferences the value.
impl<T: MiniObject> AsRef<T> for GstRc<T>
[src]
impl<T: MiniObject> Borrow<T> for GstRc<T>
[src]
impl<T: MiniObject> Clone for GstRc<T>
[src]
fn clone(&self) -> GstRc<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: MiniObject> Drop for GstRc<T>
[src]
impl<T: MiniObject + Sync + Send> Sync for GstRc<T>
[src]
impl<T: MiniObject + Sync + Send> Send for GstRc<T>
[src]
impl<T: MiniObject + PartialEq> PartialEq for GstRc<T>
[src]
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<T: MiniObject + Eq> Eq for GstRc<T>
[src]
impl<T: MiniObject + Debug> Debug for GstRc<T>
[src]
impl<T: MiniObject + Display> Display for GstRc<T>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a, T: MiniObject + 'static> ToGlibPtr<'a, *const T::GstType> for GstRc<T>
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const T::GstType, Self>
[src]
Transfer: none. Read more
fn to_glib_full(&self) -> *const T::GstType
[src]
Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more
impl<'a, T: MiniObject + 'static> ToGlibPtr<'a, *mut T::GstType> for GstRc<T>
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut T::GstType, Self>
[src]
Transfer: none. Read more
fn to_glib_full(&self) -> *mut T::GstType
[src]
Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more
impl<'a, T: MiniObject + 'static> ToGlibPtrMut<'a, *mut T::GstType> for GstRc<T>
[src]
type Storage = &'a mut Self
fn to_glib_none_mut(&'a mut self) -> StashMut<*mut T::GstType, Self>
[src]
Transfer: none. Read more
impl<'a, T: MiniObject + 'static> ToGlibContainerFromSlice<'a, *mut *mut T::GstType> for GstRc<T>
[src]
type Storage = (Vec<Stash<'a, *mut T::GstType, GstRc<T>>>, Option<Vec<*mut T::GstType>>)
fn to_glib_none_from_slice(
t: &'a [GstRc<T>]
) -> (*mut *mut T::GstType, Self::Storage)
[src]
t: &'a [GstRc<T>]
) -> (*mut *mut T::GstType, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [GstRc<T>]
) -> (*mut *mut T::GstType, Self::Storage)
[src]
t: &'a [GstRc<T>]
) -> (*mut *mut T::GstType, Self::Storage)
fn to_glib_full_from_slice(t: &[GstRc<T>]) -> *mut *mut T::GstType
[src]
impl<'a, T: MiniObject + 'static> ToGlibContainerFromSlice<'a, *const *mut T::GstType> for GstRc<T>
[src]
type Storage = (Vec<Stash<'a, *mut T::GstType, GstRc<T>>>, Option<Vec<*mut T::GstType>>)
fn to_glib_none_from_slice(
t: &'a [GstRc<T>]
) -> (*const *mut T::GstType, Self::Storage)
[src]
t: &'a [GstRc<T>]
) -> (*const *mut T::GstType, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [GstRc<T>]
) -> (*const *mut T::GstType, Self::Storage)
[src]
_: &'a [GstRc<T>]
) -> (*const *mut T::GstType, Self::Storage)
fn to_glib_full_from_slice(_: &[GstRc<T>]) -> *const *mut T::GstType
[src]
impl<T: MiniObject + 'static> FromGlibPtrNone<*const T::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none(ptr: *const T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibPtrNone<*mut T::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none(ptr: *mut T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibPtrFull<*const T::GstType> for GstRc<T>
[src]
unsafe fn from_glib_full(ptr: *const T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibPtrFull<*mut T::GstType> for GstRc<T>
[src]
unsafe fn from_glib_full(ptr: *mut T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibPtrBorrow<*const T::GstType> for GstRc<T>
[src]
unsafe fn from_glib_borrow(ptr: *const T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibPtrBorrow<*mut T::GstType> for GstRc<T>
[src]
unsafe fn from_glib_borrow(ptr: *mut T::GstType) -> Self
[src]
impl<T: MiniObject + 'static> FromGlibContainerAsVec<*mut T::GstType, *mut *mut T::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut T::GstType,
num: usize
) -> Vec<Self>
impl<T: MiniObject + 'static> FromGlibPtrArrayContainerAsVec<*mut T::GstType, *mut *mut T::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none_as_vec(ptr: *mut *mut T::GstType) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut *mut T::GstType) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut *mut T::GstType) -> Vec<Self>
[src]
impl<T: MiniObject + 'static> FromGlibContainerAsVec<*mut T::GstType, *const *mut T::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut T::GstType,
num: usize
) -> Vec<Self>
[src]
ptr: *const *mut T::GstType,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
_: *const *mut T::GstType,
_: usize
) -> Vec<Self>
[src]
_: *const *mut T::GstType,
_: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
_: *const *mut T::GstType,
_: usize
) -> Vec<Self>
[src]
_: *const *mut T::GstType,
_: usize
) -> Vec<Self>
impl<T: MiniObject + 'static> FromGlibPtrArrayContainerAsVec<*mut T::GstType, *const *mut T::GstType> for GstRc<T>
[src]
unsafe fn from_glib_none_as_vec(ptr: *const *mut T::GstType) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(_: *const *mut T::GstType) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(_: *const *mut T::GstType) -> Vec<Self>
[src]
impl<T: MiniObject + StaticType> StaticType for GstRc<T>
[src]
fn static_type() -> Type
[src]
Returns the type identifier of Self
.