Struct gdnative_doc::documentation::GdnativeClass
source · [−]pub struct GdnativeClass {
pub name: String,
pub inherit: String,
pub documentation: String,
pub properties: Vec<Property>,
pub methods: Vec<Method>,
pub file: PathBuf,
}
Expand description
Fields
name: String
Name of the structure
inherit: String
Name of the type in #[inherit(...)]
documentation: String
Documentation associated with the structure.
properties: Vec<Property>
Properties exported by the structure
methods: Vec<Method>
Exported methods of this structure
As per gdnative
’s documentation, exported methods are
- In a
#[methods]
impl block - Either
new
, or marked with#[method]
file: PathBuf
File in which the struct
was declared
Trait Implementations
sourceimpl Clone for GdnativeClass
impl Clone for GdnativeClass
sourcefn clone(&self) -> GdnativeClass
fn clone(&self) -> GdnativeClass
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GdnativeClass
impl Debug for GdnativeClass
sourceimpl Hash for GdnativeClass
impl Hash for GdnativeClass
sourceimpl PartialEq<GdnativeClass> for GdnativeClass
impl PartialEq<GdnativeClass> for GdnativeClass
sourcefn eq(&self, other: &GdnativeClass) -> bool
fn eq(&self, other: &GdnativeClass) -> bool
impl Eq for GdnativeClass
impl StructuralEq for GdnativeClass
impl StructuralPartialEq for GdnativeClass
Auto Trait Implementations
impl RefUnwindSafe for GdnativeClass
impl Send for GdnativeClass
impl Sync for GdnativeClass
impl Unpin for GdnativeClass
impl UnwindSafe for GdnativeClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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