pub struct ArchetypeColumnInfo { /* private fields */ }Implementations§
Source§impl ArchetypeColumnInfo
impl ArchetypeColumnInfo
pub fn new<T: Finalize>() -> Self
Sourcepub unsafe fn new_raw(
type_hash: TypeHash,
layout: Layout,
finalizer: unsafe fn(*mut ()),
) -> Self
pub unsafe fn new_raw( type_hash: TypeHash, layout: Layout, finalizer: unsafe fn(*mut ()), ) -> Self
§Safety
pub fn from_type(type_: &Type) -> Self
pub fn type_hash(&self) -> TypeHash
pub fn layout(&self) -> Layout
pub fn finalizer(&self) -> unsafe fn(*mut ())
Trait Implementations§
Source§impl Clone for ArchetypeColumnInfo
impl Clone for ArchetypeColumnInfo
Source§fn clone(&self) -> ArchetypeColumnInfo
fn clone(&self) -> ArchetypeColumnInfo
Returns a duplicate 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 ArchetypeColumnInfo
impl Debug for ArchetypeColumnInfo
Source§impl PartialEq for ArchetypeColumnInfo
impl PartialEq for ArchetypeColumnInfo
impl Copy for ArchetypeColumnInfo
impl Eq for ArchetypeColumnInfo
Auto Trait Implementations§
impl Freeze for ArchetypeColumnInfo
impl RefUnwindSafe for ArchetypeColumnInfo
impl Send for ArchetypeColumnInfo
impl Sync for ArchetypeColumnInfo
impl Unpin for ArchetypeColumnInfo
impl UnwindSafe for ArchetypeColumnInfo
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.