pub struct RendererTextureId(/* private fields */);Expand description
An identifier for a texture in a WutEngineRenderer
Implementations§
Source§impl RendererTextureId
impl RendererTextureId
Sourcepub fn new() -> Self
pub fn new() -> Self
Generate a new guaranteed unique RendererTextureId
Trait Implementations§
Source§impl Clone for RendererTextureId
impl Clone for RendererTextureId
Source§fn clone(&self) -> RendererTextureId
fn clone(&self) -> RendererTextureId
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 RendererTextureId
impl Debug for RendererTextureId
Source§impl Default for RendererTextureId
impl Default for RendererTextureId
Source§impl Display for RendererTextureId
impl Display for RendererTextureId
Source§impl Hash for RendererTextureId
impl Hash for RendererTextureId
Source§impl PartialEq for RendererTextureId
impl PartialEq for RendererTextureId
impl Copy for RendererTextureId
impl Eq for RendererTextureId
impl IsEnabled for RendererTextureId
impl StructuralPartialEq for RendererTextureId
Auto Trait Implementations§
impl Freeze for RendererTextureId
impl RefUnwindSafe for RendererTextureId
impl Send for RendererTextureId
impl Sync for RendererTextureId
impl Unpin for RendererTextureId
impl UnwindSafe for RendererTextureId
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().