#[non_exhaustive]#[repr(u8)]pub enum EditorPlatform {
Win32 = 0,
Cocoa = 1,
X11 = 2,
Wayland = 3,
}Expand description
The backend actually hosting the editor, independent of the requested policy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for EditorPlatform
impl Clone for EditorPlatform
impl Copy for EditorPlatform
Source§impl Debug for EditorPlatform
impl Debug for EditorPlatform
impl Eq for EditorPlatform
Source§impl PartialEq for EditorPlatform
impl PartialEq for EditorPlatform
impl StructuralPartialEq for EditorPlatform
Auto Trait Implementations§
impl Freeze for EditorPlatform
impl RefUnwindSafe for EditorPlatform
impl Send for EditorPlatform
impl Sync for EditorPlatform
impl Unpin for EditorPlatform
impl UnsafeUnpin for EditorPlatform
impl UnwindSafe for EditorPlatform
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