pub struct KeyFrameTraceInfoBuilder<State>(/* private fields */);
Expand description
Builder for serializing an instance of the KeyFrameTraceInfo type.
Can be created using the KeyFrameTraceInfo::builder method.
Implementations§
Source§impl KeyFrameTraceInfoBuilder<()>
impl KeyFrameTraceInfoBuilder<()>
Sourcepub fn rtp_packet<T0>(self, value: T0) -> KeyFrameTraceInfoBuilder<(T0,)>
pub fn rtp_packet<T0>(self, value: T0) -> KeyFrameTraceInfoBuilder<(T0,)>
Setter for the rtp_packet
field.
Source§impl<T0> KeyFrameTraceInfoBuilder<(T0,)>
impl<T0> KeyFrameTraceInfoBuilder<(T0,)>
Sourcepub fn is_rtx<T1>(self, value: T1) -> KeyFrameTraceInfoBuilder<(T0, T1)>
pub fn is_rtx<T1>(self, value: T1) -> KeyFrameTraceInfoBuilder<(T0, T1)>
Setter for the is_rtx
field.
Sourcepub fn is_rtx_as_default(self) -> KeyFrameTraceInfoBuilder<(T0, DefaultValue)>
pub fn is_rtx_as_default(self) -> KeyFrameTraceInfoBuilder<(T0, DefaultValue)>
Sets the is_rtx
field to the default value.
Source§impl<T0, T1> KeyFrameTraceInfoBuilder<(T0, T1)>
impl<T0, T1> KeyFrameTraceInfoBuilder<(T0, T1)>
Sourcepub fn finish(self, builder: &mut Builder) -> Offset<KeyFrameTraceInfo>where
Self: WriteAsOffset<KeyFrameTraceInfo>,
pub fn finish(self, builder: &mut Builder) -> Offset<KeyFrameTraceInfo>where
Self: WriteAsOffset<KeyFrameTraceInfo>,
Finish writing the builder to get an Offset to a serialized KeyFrameTraceInfo.
Trait Implementations§
Source§impl<State: Debug> Debug for KeyFrameTraceInfoBuilder<State>
impl<State: Debug> Debug for KeyFrameTraceInfoBuilder<State>
impl<T0: WriteAs<Offset<Dump>>, T1: WriteAsDefault<bool, bool>> WriteAs<Offset<KeyFrameTraceInfo>> for KeyFrameTraceInfoBuilder<(T0, T1)>
impl<T0: WriteAs<Offset<Dump>>, T1: WriteAsDefault<bool, bool>> WriteAsOffset<KeyFrameTraceInfo> for KeyFrameTraceInfoBuilder<(T0, T1)>
impl<T0: WriteAs<Offset<Dump>>, T1: WriteAsDefault<bool, bool>> WriteAsOptional<Offset<KeyFrameTraceInfo>> for KeyFrameTraceInfoBuilder<(T0, T1)>
Auto Trait Implementations§
impl<State> Freeze for KeyFrameTraceInfoBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for KeyFrameTraceInfoBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for KeyFrameTraceInfoBuilder<State>where
State: Send,
impl<State> Sync for KeyFrameTraceInfoBuilder<State>where
State: Sync,
impl<State> Unpin for KeyFrameTraceInfoBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for KeyFrameTraceInfoBuilder<State>where
State: UnwindSafe,
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