pub enum PresentationAdaptation {
FullScreenCover,
None,
Sheet,
Popover,
Automatic,
}Expand description
SwiftUI.PresentationAdaptation.
The cases are the type’s documented static properties, each read through its own getter. Types carry further statics that are not API; a value the reference cannot spell cannot be compared, so those are left out.
Variants§
Trait Implementations§
Source§impl Clone for PresentationAdaptation
impl Clone for PresentationAdaptation
impl Copy for PresentationAdaptation
Source§impl Debug for PresentationAdaptation
impl Debug for PresentationAdaptation
impl Eq for PresentationAdaptation
Source§impl From<Automatic> for PresentationAdaptation
impl From<Automatic> for PresentationAdaptation
Source§impl From<FullScreenCover> for PresentationAdaptation
impl From<FullScreenCover> for PresentationAdaptation
Source§fn from(_: FullScreenCover) -> Self
fn from(_: FullScreenCover) -> Self
Converts to this type from the input type.
Source§impl From<None> for PresentationAdaptation
impl From<None> for PresentationAdaptation
Source§impl From<Popover> for PresentationAdaptation
impl From<Popover> for PresentationAdaptation
Source§impl From<Sheet> for PresentationAdaptation
impl From<Sheet> for PresentationAdaptation
Source§impl PartialEq for PresentationAdaptation
impl PartialEq for PresentationAdaptation
impl StructuralPartialEq for PresentationAdaptation
Auto Trait Implementations§
impl Freeze for PresentationAdaptation
impl RefUnwindSafe for PresentationAdaptation
impl Send for PresentationAdaptation
impl Sync for PresentationAdaptation
impl Unpin for PresentationAdaptation
impl UnsafeUnpin for PresentationAdaptation
impl UnwindSafe for PresentationAdaptation
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