pub struct GpuImageId(pub u64);Expand description
Opaque image identifier.
use daedalus_gpu::GpuImageId;
let id = GpuImageId(2);
assert_eq!(id.0, 2);Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for GpuImageId
impl Clone for GpuImageId
Source§fn clone(&self) -> GpuImageId
fn clone(&self) -> GpuImageId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GpuImageId
impl Debug for GpuImageId
Source§impl<'de> Deserialize<'de> for GpuImageId
impl<'de> Deserialize<'de> for GpuImageId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for GpuImageId
impl Display for GpuImageId
Source§impl Hash for GpuImageId
impl Hash for GpuImageId
Source§impl PartialEq for GpuImageId
impl PartialEq for GpuImageId
Source§impl Serialize for GpuImageId
impl Serialize for GpuImageId
impl Copy for GpuImageId
impl Eq for GpuImageId
impl StructuralPartialEq for GpuImageId
Auto Trait Implementations§
impl Freeze for GpuImageId
impl RefUnwindSafe for GpuImageId
impl Send for GpuImageId
impl Sync for GpuImageId
impl Unpin for GpuImageId
impl UnwindSafe for GpuImageId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more