pub struct ImageId(pub u64);Expand description
Opaque numeric handle for a cached GPU image resource.
Zero has no special meaning at this type layer.
§Examples
use ailloli_ui_core::ImageId;
assert_eq!(ImageId(7).0, 7);Tuple Fields§
§0: u64Trait Implementations§
impl Copy for ImageId
impl Eq for ImageId
impl StructuralPartialEq for ImageId
Auto Trait Implementations§
impl Freeze for ImageId
impl RefUnwindSafe for ImageId
impl Send for ImageId
impl Sync for ImageId
impl Unpin for ImageId
impl UnwindSafe for ImageId
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