Struct shards::SHExposedTypeInfo
source · [−]#[repr(C)]pub struct SHExposedTypeInfo {
pub name: SHString,
pub help: SHOptionalString,
pub exposedType: SHTypeInfo,
pub isMutable: SHBool,
pub isProtected: SHBool,
pub isTableEntry: SHBool,
pub global: SHBool,
pub scope: *mut SHWire,
}
Fields
name: SHString
help: SHOptionalString
exposedType: SHTypeInfo
isMutable: SHBool
isProtected: SHBool
isTableEntry: SHBool
global: SHBool
scope: *mut SHWire
Implementations
sourceimpl SHExposedTypeInfo
impl SHExposedTypeInfo
pub fn new(name: &CString, ctype: SHTypeInfo) -> Self
pub fn new_with_help(name: &CString, help: &CString, ctype: SHTypeInfo) -> Self
pub fn new_with_help_from_ptr(
name: SHString,
help: SHOptionalString,
ctype: SHTypeInfo
) -> Self
pub const fn new_static(name: &'static str, ctype: SHTypeInfo) -> Self
pub const fn new_static_with_help(
name: &'static str,
help: SHOptionalString,
ctype: SHTypeInfo
) -> Self
Trait Implementations
sourceimpl Clone for SHExposedTypeInfo
impl Clone for SHExposedTypeInfo
sourcefn clone(&self) -> SHExposedTypeInfo
fn clone(&self) -> SHExposedTypeInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for SHExposedTypeInfo
impl Default for SHExposedTypeInfo
impl Copy for SHExposedTypeInfo
impl Sync for SHExposedTypeInfo
Auto Trait Implementations
impl RefUnwindSafe for SHExposedTypeInfo
impl !Send for SHExposedTypeInfo
impl Unpin for SHExposedTypeInfo
impl UnwindSafe for SHExposedTypeInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more