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