pub struct VideoOrientationChangeNotificationRef<'a>(/* private fields */);
Expand description
Reference to a deserialized VideoOrientationChangeNotification.
Implementations§
Source§impl<'a> VideoOrientationChangeNotificationRef<'a>
impl<'a> VideoOrientationChangeNotificationRef<'a>
Sourcepub fn camera(&self) -> Result<bool>
pub fn camera(&self) -> Result<bool>
Getter for the camera
field.
Sourcepub fn flip(&self) -> Result<bool>
pub fn flip(&self) -> Result<bool>
Getter for the flip
field.
Sourcepub fn rotation(&self) -> Result<u16>
pub fn rotation(&self) -> Result<u16>
Getter for the rotation
field.
Trait Implementations§
Source§impl<'a> Clone for VideoOrientationChangeNotificationRef<'a>
impl<'a> Clone for VideoOrientationChangeNotificationRef<'a>
Source§fn clone(&self) -> VideoOrientationChangeNotificationRef<'a>
fn clone(&self) -> VideoOrientationChangeNotificationRef<'a>
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<'a> Debug for VideoOrientationChangeNotificationRef<'a>
impl<'a> Debug for VideoOrientationChangeNotificationRef<'a>
Source§impl<'a> ReadAsRoot<'a> for VideoOrientationChangeNotificationRef<'a>
impl<'a> ReadAsRoot<'a> for VideoOrientationChangeNotificationRef<'a>
Source§impl<'a> TryFrom<VideoOrientationChangeNotificationRef<'a>> for VideoOrientationChangeNotification
impl<'a> TryFrom<VideoOrientationChangeNotificationRef<'a>> for VideoOrientationChangeNotification
impl<'a> Copy for VideoOrientationChangeNotificationRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for VideoOrientationChangeNotificationRef<'a>
impl<'a> RefUnwindSafe for VideoOrientationChangeNotificationRef<'a>
impl<'a> Send for VideoOrientationChangeNotificationRef<'a>
impl<'a> Sync for VideoOrientationChangeNotificationRef<'a>
impl<'a> Unpin for VideoOrientationChangeNotificationRef<'a>
impl<'a> UnwindSafe for VideoOrientationChangeNotificationRef<'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