pub struct VideoOrientationChangeNotification {
pub camera: bool,
pub flip: bool,
pub rotation: u16,
}
Expand description
The table VideoOrientationChangeNotification
in the namespace FBS.Producer
Generated from these locations:
- Table
VideoOrientationChangeNotification
in the filefbs/producer.fbs:53
Fields§
§camera: bool
The field camera
in the table VideoOrientationChangeNotification
flip: bool
The field flip
in the table VideoOrientationChangeNotification
rotation: u16
The field rotation
in the table VideoOrientationChangeNotification
Implementations§
Source§impl VideoOrientationChangeNotification
impl VideoOrientationChangeNotification
Sourcepub fn builder() -> VideoOrientationChangeNotificationBuilder<()>
pub fn builder() -> VideoOrientationChangeNotificationBuilder<()>
Creates a VideoOrientationChangeNotificationBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_camera: impl WriteAsDefault<bool, bool>, field_flip: impl WriteAsDefault<bool, bool>, field_rotation: impl WriteAsDefault<u16, u16>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for VideoOrientationChangeNotification
impl Clone for VideoOrientationChangeNotification
Source§fn clone(&self) -> VideoOrientationChangeNotification
fn clone(&self) -> VideoOrientationChangeNotification
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for VideoOrientationChangeNotification
impl<'de> Deserialize<'de> for VideoOrientationChangeNotification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for VideoOrientationChangeNotification
impl Ord for VideoOrientationChangeNotification
Source§fn cmp(&self, other: &VideoOrientationChangeNotification) -> Ordering
fn cmp(&self, other: &VideoOrientationChangeNotification) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VideoOrientationChangeNotification
impl PartialEq for VideoOrientationChangeNotification
Source§fn eq(&self, other: &VideoOrientationChangeNotification) -> bool
fn eq(&self, other: &VideoOrientationChangeNotification) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for VideoOrientationChangeNotification
impl PartialOrd for VideoOrientationChangeNotification
Source§impl<'a> TryFrom<VideoOrientationChangeNotificationRef<'a>> for VideoOrientationChangeNotification
impl<'a> TryFrom<VideoOrientationChangeNotificationRef<'a>> for VideoOrientationChangeNotification
impl Eq for VideoOrientationChangeNotification
impl StructuralPartialEq for VideoOrientationChangeNotification
impl VectorWrite<Offset<VideoOrientationChangeNotification>> for VideoOrientationChangeNotification
impl WriteAs<Offset<VideoOrientationChangeNotification>> for VideoOrientationChangeNotification
impl WriteAsOffset<VideoOrientationChangeNotification> for VideoOrientationChangeNotification
impl<T0: WriteAsDefault<bool, bool>, T1: WriteAsDefault<bool, bool>, T2: WriteAsDefault<u16, u16>> WriteAsOffset<VideoOrientationChangeNotification> for VideoOrientationChangeNotificationBuilder<(T0, T1, T2)>
impl WriteAsOptional<Offset<VideoOrientationChangeNotification>> for VideoOrientationChangeNotification
Auto Trait Implementations§
impl Freeze for VideoOrientationChangeNotification
impl RefUnwindSafe for VideoOrientationChangeNotification
impl Send for VideoOrientationChangeNotification
impl Sync for VideoOrientationChangeNotification
impl Unpin for VideoOrientationChangeNotification
impl UnwindSafe for VideoOrientationChangeNotification
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