Struct makepad_live_compiler::live_ptr::LiveFileId
source · [−]pub struct LiveFileId(pub u16);
Tuple Fields
0: u16
Implementations
sourceimpl LiveFileId
impl LiveFileId
Trait Implementations
sourceimpl Clone for LiveFileId
impl Clone for LiveFileId
sourcefn clone(&self) -> LiveFileId
fn clone(&self) -> LiveFileId
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LiveFileId
impl Debug for LiveFileId
sourceimpl Default for LiveFileId
impl Default for LiveFileId
sourcefn default() -> LiveFileId
fn default() -> LiveFileId
Returns the “default value” for a type. Read more
sourceimpl Hash for LiveFileId
impl Hash for LiveFileId
sourceimpl Ord for LiveFileId
impl Ord for LiveFileId
sourcefn cmp(&self, other: &LiveFileId) -> Ordering
fn cmp(&self, other: &LiveFileId) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<LiveFileId> for LiveFileId
impl PartialEq<LiveFileId> for LiveFileId
sourcefn eq(&self, other: &LiveFileId) -> bool
fn eq(&self, other: &LiveFileId) -> bool
sourceimpl PartialOrd<LiveFileId> for LiveFileId
impl PartialOrd<LiveFileId> for LiveFileId
sourcefn partial_cmp(&self, other: &LiveFileId) -> Option<Ordering>
fn partial_cmp(&self, other: &LiveFileId) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LiveFileId
impl Eq for LiveFileId
impl StructuralEq for LiveFileId
impl StructuralPartialEq for LiveFileId
Auto Trait Implementations
impl RefUnwindSafe for LiveFileId
impl Send for LiveFileId
impl Sync for LiveFileId
impl Unpin for LiveFileId
impl UnwindSafe for LiveFileId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more