pub struct Texture { /* private fields */ }Expand description
Texture definition
Defines a texture file path and its properties.
Implementations§
Source§impl Texture
impl Texture
pub fn replaceable_id(&self) -> u32
pub fn set_replaceable_id(&mut self, value: u32)
pub fn set_file_name(&mut self, value: &str)
Sourcepub fn flags(&self) -> SequenceFlag
pub fn flags(&self) -> SequenceFlag
Texture wrap flags
pub fn set_flags(&mut self, value: SequenceFlag)
Trait Implementations§
impl Send for Texture
Auto Trait Implementations§
impl !Sync for Texture
impl Freeze for Texture
impl RefUnwindSafe for Texture
impl Unpin for Texture
impl UnsafeUnpin for Texture
impl UnwindSafe for Texture
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