[−][src]Struct solstice::texture::TextureInfo
Implementations
impl TextureInfo
[src]
pub fn new(
format: PixelFormat,
width: u32,
height: u32,
filter: Filter,
wrap: Wrap,
mipmaps: bool
) -> Self
[src]
format: PixelFormat,
width: u32,
height: u32,
filter: Filter,
wrap: Wrap,
mipmaps: bool
) -> Self
pub fn width(&self) -> u32
[src]
pub fn set_width(&mut self, width: u32)
[src]
pub fn height(&self) -> u32
[src]
pub fn set_height(&mut self, height: u32)
[src]
pub fn get_format(&self) -> PixelFormat
[src]
pub fn set_format(&mut self, format: PixelFormat)
[src]
pub fn wrap(&self) -> Wrap
[src]
pub fn set_wrap(&mut self, wrap: Wrap)
[src]
pub fn filter(&self) -> Filter
[src]
pub fn set_filter(&mut self, filter: Filter)
[src]
pub fn mipmaps(&self) -> bool
[src]
pub fn set_mipmaps(&mut self, mipmaps: bool)
[src]
Trait Implementations
impl Clone for TextureInfo
[src]
fn clone(&self) -> TextureInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TextureInfo
[src]
impl Debug for TextureInfo
[src]
impl Default for TextureInfo
[src]
impl PartialEq<TextureInfo> for TextureInfo
[src]
fn eq(&self, other: &TextureInfo) -> bool
[src]
fn ne(&self, other: &TextureInfo) -> bool
[src]
impl StructuralPartialEq for TextureInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextureInfo
impl Send for TextureInfo
impl Sync for TextureInfo
impl Unpin for TextureInfo
impl UnwindSafe for TextureInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,