#[repr(C)]pub struct TextureInfo {
pub target: Enum,
pub id: Enum,
pub format: Enum,
pub protected: Protected,
}
Fields§
§target: Enum
§id: Enum
§format: Enum
§protected: Protected
Implementations§
Source§impl TextureInfo
impl TextureInfo
pub fn from_target_and_id(target: Enum, id: Enum) -> Self
pub fn is_protected(&self) -> bool
Trait Implementations§
Source§impl Clone for TextureInfo
impl Clone for TextureInfo
Source§fn clone(&self) -> TextureInfo
fn clone(&self) -> TextureInfo
Returns a copy 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 Debug for TextureInfo
impl Debug for TextureInfo
Source§impl Default for TextureInfo
impl Default for TextureInfo
Source§impl PartialEq for TextureInfo
impl PartialEq for TextureInfo
impl Copy for TextureInfo
impl Eq for TextureInfo
Auto Trait Implementations§
impl Freeze for TextureInfo
impl RefUnwindSafe for TextureInfo
impl Send for TextureInfo
impl Sync for TextureInfo
impl Unpin for TextureInfo
impl UnwindSafe for TextureInfo
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