pub struct ScreenId(pub u64);Expand description
Names a screen: Flutter’s Display.id, which the embedder API calls a
FlutterEngineDisplayId. Each host numbers its screens its own way; a screen keeps its
number while it stays connected.
Tuple Fields§
§0: u64Trait Implementations§
impl Copy for ScreenId
impl Eq for ScreenId
Source§impl Ord for ScreenId
impl Ord for ScreenId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ScreenId
impl PartialOrd for ScreenId
impl StructuralPartialEq for ScreenId
Auto Trait Implementations§
impl Freeze for ScreenId
impl RefUnwindSafe for ScreenId
impl Send for ScreenId
impl Sync for ScreenId
impl Unpin for ScreenId
impl UnsafeUnpin for ScreenId
impl UnwindSafe for ScreenId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.