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> 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