pub enum Backend {
Wayland,
X11,
Win32,
MacOS,
Broadway,
}
Variants§
Implementations§
Source§impl Backend
impl Backend
Sourcepub fn is_wayland(&self) -> bool
pub fn is_wayland(&self) -> bool
Equivalent to the C macro GDK_IS_WAYLAND_DISPLAY
Sourcepub fn is_broadway(&self) -> bool
pub fn is_broadway(&self) -> bool
Equivalent to the C macro GDK_IS_BROADWAY_DISPLAY
Trait Implementations§
Source§impl Ord for Backend
impl Ord for Backend
Source§impl PartialOrd for Backend
impl PartialOrd for Backend
impl Eq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl Freeze for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
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