pub enum TextureRef<'a> {
Id(TextureId),
Ref(&'a ImTextureData),
}
Variants§
Id(TextureId)
Ref(&'a ImTextureData)
Implementations§
Source§impl TextureRef<'_>
impl TextureRef<'_>
Trait Implementations§
Source§impl<'a> Clone for TextureRef<'a>
impl<'a> Clone for TextureRef<'a>
Source§fn clone(&self) -> TextureRef<'a>
fn clone(&self) -> TextureRef<'a>
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<'a> Debug for TextureRef<'a>
impl<'a> Debug for TextureRef<'a>
impl<'a> Copy for TextureRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for TextureRef<'a>
impl<'a> !RefUnwindSafe for TextureRef<'a>
impl<'a> !Send for TextureRef<'a>
impl<'a> !Sync for TextureRef<'a>
impl<'a> Unpin for TextureRef<'a>
impl<'a> !UnwindSafe for TextureRef<'a>
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