pub struct ImageResourceId(pub u64);Expand description
Stable identifier for an image resource owned by one Ui.
IDs are monotonic for the lifetime of their owner and are not reused after release.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ImageResourceId
impl Clone for ImageResourceId
impl Copy for ImageResourceId
Source§impl Debug for ImageResourceId
impl Debug for ImageResourceId
impl Eq for ImageResourceId
Source§impl Hash for ImageResourceId
impl Hash for ImageResourceId
Source§impl Ord for ImageResourceId
impl Ord for ImageResourceId
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 PartialEq for ImageResourceId
impl PartialEq for ImageResourceId
Source§impl PartialOrd for ImageResourceId
impl PartialOrd for ImageResourceId
impl StructuralPartialEq for ImageResourceId
Auto Trait Implementations§
impl Forget for ImageResourceId
impl Freeze for ImageResourceId
impl Move for ImageResourceId
impl RefUnwindSafe for ImageResourceId
impl Send for ImageResourceId
impl Sync for ImageResourceId
impl Unpin for ImageResourceId
impl UnsafeUnpin for ImageResourceId
impl UnwindSafe for ImageResourceId
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