pub struct DisplayFeature {
pub orientation: DisplayFeatureOrientation,
pub offset: i32,
pub mask_length: i32,
}Expand description
Display feature.
Fields§
§orientation: DisplayFeatureOrientationOrientation of the display feature.
offset: i32The offset from the screen origin in pixels.
mask_length: i32The length of the feature in pixels.
Trait Implementations§
Source§impl Clone for DisplayFeature
impl Clone for DisplayFeature
Source§fn clone(&self) -> DisplayFeature
fn clone(&self) -> DisplayFeature
Returns a duplicate 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 Debug for DisplayFeature
impl Debug for DisplayFeature
Auto Trait Implementations§
impl Freeze for DisplayFeature
impl RefUnwindSafe for DisplayFeature
impl Send for DisplayFeature
impl Sync for DisplayFeature
impl Unpin for DisplayFeature
impl UnwindSafe for DisplayFeature
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