[−][src]Struct gstreamer::event::Segment
Implementations
impl<'a> Segment<'a>
[src]
pub fn new<F: FormattedValue>(segment: &FormattedSegment<F>) -> Event
[src]
pub fn builder<F: FormattedValue>(
segment: &FormattedSegment<F>
) -> SegmentBuilder<'_>
[src]
segment: &FormattedSegment<F>
) -> SegmentBuilder<'_>
pub fn get_segment(&self) -> &'a Segment
[src]
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
Auto Trait Implementations
impl<'a> RefUnwindSafe for Segment<'a>
impl<'a> Send for Segment<'a>
impl<'a> Sync for Segment<'a>
impl<'a> Unpin for Segment<'a>
impl<'a> UnwindSafe for Segment<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,