Struct classicube_sys::TextureEntry
source · #[repr(C)]pub struct TextureEntry {
pub filename: *const c_char,
pub Callback: Option<unsafe extern "C" fn(stream: *mut Stream, name: *const cc_string)>,
pub next: *mut TextureEntry,
}
Fields§
§filename: *const c_char
§Callback: Option<unsafe extern "C" fn(stream: *mut Stream, name: *const cc_string)>
§next: *mut TextureEntry
Trait Implementations§
source§impl Clone for TextureEntry
impl Clone for TextureEntry
source§fn clone(&self) -> TextureEntry
fn clone(&self) -> TextureEntry
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 TextureEntry
impl Debug for TextureEntry
source§impl Hash for TextureEntry
impl Hash for TextureEntry
source§impl PartialEq for TextureEntry
impl PartialEq for TextureEntry
source§fn eq(&self, other: &TextureEntry) -> bool
fn eq(&self, other: &TextureEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TextureEntry
impl Eq for TextureEntry
impl StructuralPartialEq for TextureEntry
Auto Trait Implementations§
impl Freeze for TextureEntry
impl RefUnwindSafe for TextureEntry
impl !Send for TextureEntry
impl !Sync for TextureEntry
impl Unpin for TextureEntry
impl UnwindSafe for TextureEntry
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)