Struct gstreamer::event::SeekBuilder
source · pub struct SeekBuilder<'a> {
builder: EventBuilder<'a>,
rate: f64,
flags: SeekFlags,
start_type: SeekType,
start: GenericFormattedValue,
stop_type: SeekType,
stop: GenericFormattedValue,
trickmode_interval: Option<ClockTime>,
}
Fields§
§builder: EventBuilder<'a>
§rate: f64
§flags: SeekFlags
§start_type: SeekType
§start: GenericFormattedValue
§stop_type: SeekType
§stop: GenericFormattedValue
§trickmode_interval: Option<ClockTime>
Implementations§
source§impl<'a> SeekBuilder<'a>
impl<'a> SeekBuilder<'a>
fn new( rate: f64, flags: SeekFlags, start_type: SeekType, start: GenericFormattedValue, stop_type: SeekType, stop: GenericFormattedValue, ) -> Self
pub fn trickmode_interval( self, trickmode_interval: impl Into<Option<ClockTime>>, ) -> Self
pub fn seqnum(self, seqnum: Seqnum) -> Self
pub fn running_time_offset(self, running_time_offset: i64) -> Self
pub fn other_field(self, name: &'a str, value: impl ToSendValue) -> Self
pub fn other_fields( self, other_fields: &[(&'a str, &'a (dyn ToSendValue + Sync))], ) -> Self
👎Deprecated: use build.other_field() instead
pub fn build(self) -> Event
Auto Trait Implementations§
impl<'a> Freeze for SeekBuilder<'a>
impl<'a> RefUnwindSafe for SeekBuilder<'a>
impl<'a> Send for SeekBuilder<'a>
impl<'a> !Sync for SeekBuilder<'a>
impl<'a> Unpin for SeekBuilder<'a>
impl<'a> UnwindSafe for SeekBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more