pub struct TextureFromTexture {
pub label: Option<String>,
pub src: TextureHandle,
pub start_mip: u32,
pub mip_count: Option<NonZeroU32>,
}
Expand description
Describes a texture made from the mipmaps of another texture.
Fields§
§label: Option<String>
§src: TextureHandle
§start_mip: u32
§mip_count: Option<NonZeroU32>
Trait Implementations§
Source§impl Clone for TextureFromTexture
impl Clone for TextureFromTexture
Source§fn clone(&self) -> TextureFromTexture
fn clone(&self) -> TextureFromTexture
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 moreAuto Trait Implementations§
impl Freeze for TextureFromTexture
impl RefUnwindSafe for TextureFromTexture
impl Send for TextureFromTexture
impl Sync for TextureFromTexture
impl Unpin for TextureFromTexture
impl UnwindSafe for TextureFromTexture
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