Struct classicube_sys::MapGenerator
source · #[repr(C)]pub struct MapGenerator {
pub Prepare: Option<unsafe extern "C" fn() -> cc_bool>,
pub Generate: Option<unsafe extern "C" fn()>,
}
Fields§
§Prepare: Option<unsafe extern "C" fn() -> cc_bool>
§Generate: Option<unsafe extern "C" fn()>
Trait Implementations§
source§impl Clone for MapGenerator
impl Clone for MapGenerator
source§fn clone(&self) -> MapGenerator
fn clone(&self) -> MapGenerator
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 MapGenerator
impl Debug for MapGenerator
source§impl Hash for MapGenerator
impl Hash for MapGenerator
source§impl PartialEq for MapGenerator
impl PartialEq for MapGenerator
source§fn eq(&self, other: &MapGenerator) -> bool
fn eq(&self, other: &MapGenerator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MapGenerator
impl Eq for MapGenerator
impl StructuralPartialEq for MapGenerator
Auto Trait Implementations§
impl Freeze for MapGenerator
impl RefUnwindSafe for MapGenerator
impl Send for MapGenerator
impl Sync for MapGenerator
impl Unpin for MapGenerator
impl UnwindSafe for MapGenerator
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
)