Docs.rs
gstreamer-0.12.2
gstreamer 0.12.2
Docs.rs crate page
MIT/Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
sdroege
tp-m
github:gstreamer:crates-io-maintainers
Dependencies
bitflags ^1.0
normal
cfg-if ^0.1
normal
futures-core-preview ^0.2
normal
glib ^0.6
normal
glib-sys ^0.7
normal
gobject-sys ^0.7
normal
gstreamer-sys ^0.6
normal
lazy_static ^1.0
normal
libc ^0.2
normal
muldiv ^0.2
normal
num-rational ^0.2
normal
serde ^1.0
normal
serde_bytes ^0.10
normal
serde_derive ^1.0
normal
ron ^0.4
dev
serde-pickle ^0.4
dev
serde_json ^1.0
dev
rustdoc-stripper ^0.1
build
Versions
0%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Segment
Methods
downcast
downcast_mut
downcast_ref
reset_with_format
set_format
In gstreamer
?
Type Definition
gstreamer
::
Segment
source
·
[
−
]
pub type Segment =
FormattedSegment
<
GenericFormattedValue
>;
Implementations
source
impl
Segment
source
pub fn
reset_with_format
(&mut self, format:
Format
)
source
pub fn
set_format
(&mut self, format:
Format
)
source
pub fn
downcast
<T:
FormattedValue
>(self) ->
Result
<
FormattedSegment
<T>, Self>
source
pub fn
downcast_ref
<T:
FormattedValue
>(&self) ->
Option
<&
FormattedSegment
<T>>
source
pub fn
downcast_mut
<T:
FormattedValue
>(
&mut self
) ->
Option
<&mut
FormattedSegment
<T>>