pub struct TextureParams {
pub format: TextureFormat,
pub wrap: TextureWrap,
pub filter: FilterMode,
pub width: u32,
pub height: u32,
}
Fields
format: TextureFormat
wrap: TextureWrap
filter: FilterMode
width: u32
height: u32
Trait Implementations
sourceimpl Clone for TextureParams
impl Clone for TextureParams
sourcefn clone(&self) -> TextureParams
fn clone(&self) -> TextureParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TextureParams
impl Debug for TextureParams
sourceimpl Default for TextureParams
impl Default for TextureParams
impl Copy for TextureParams
Auto Trait Implementations
impl RefUnwindSafe for TextureParams
impl Send for TextureParams
impl Sync for TextureParams
impl Unpin for TextureParams
impl UnwindSafe for TextureParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more