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§
Source§impl Clone for GdnativeClass
impl Clone for GdnativeClass
Source§fn clone(&self) -> GdnativeClass
fn clone(&self) -> GdnativeClass
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 GdnativeClass
impl Debug for GdnativeClass
Source§impl Hash for GdnativeClass
impl Hash for GdnativeClass
Source§impl PartialEq for GdnativeClass
impl PartialEq for GdnativeClass
impl Eq for GdnativeClass
impl StructuralPartialEq for GdnativeClass
Auto Trait Implementations§
impl Freeze for GdnativeClass
impl RefUnwindSafe for GdnativeClass
impl Send for GdnativeClass
impl Sync for GdnativeClass
impl Unpin for GdnativeClass
impl UnwindSafe for GdnativeClass
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