pub struct EdgeSet {
pub top: bool,
pub leading: bool,
pub bottom: bool,
pub trailing: bool,
}Expand description
Specifies which edges should ignore safe area insets.
Used with IgnoreSafeArea to control which edges of a view
should extend into the unsafe screen regions.
Fields§
§top: boolIgnore safe area on the top edge.
leading: boolIgnore safe area on the leading edge.
bottom: boolIgnore safe area on the bottom edge.
trailing: boolIgnore safe area on the trailing edge.
Implementations§
Trait Implementations§
impl Copy for EdgeSet
impl Eq for EdgeSet
impl StructuralPartialEq for EdgeSet
Auto Trait Implementations§
impl Freeze for EdgeSet
impl RefUnwindSafe for EdgeSet
impl Send for EdgeSet
impl Sync for EdgeSet
impl Unpin for EdgeSet
impl UnwindSafe for EdgeSet
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