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
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VideoOrientationChangeNotification
impl PartialOrd for VideoOrientationChangeNotification
source§fn partial_cmp(
&self,
other: &VideoOrientationChangeNotification
) -> Option<Ordering>
fn partial_cmp( &self, other: &VideoOrientationChangeNotification ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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 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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more