[−][src]Struct gdnative_bindings_generator::api::GodotClass
Fields
name: String
base_class: String
api_type: String
singleton: bool
is_reference: bool
instantiable: bool
properties: Vec<Property>
methods: Vec<GodotMethod>
enums: Vec<Enum>
constants: HashMap<ConstantName, ConstantValue>
Implementations
impl GodotClass
[src]
pub fn generate_module_name(&mut self)
[src]
pub fn module(&self) -> &str
[src]
pub fn base_class_module(&self) -> &str
[src]
pub fn base_class_name(&self) -> Option<&str>
[src]
Returns the name of the base class if base_class
is not empty. Returns None
otherwise.
pub fn is_singleton_thread_safe(&self) -> bool
[src]
pub fn base_class<'a>(&self, api: &'a Api) -> Option<&'a Self>
[src]
Returns the base class from api
if base_class
is not empty. Returns None
otherwise.
pub fn is_refcounted(&self) -> bool
[src]
pub fn is_pointer_safe(&self) -> bool
[src]
pub fn is_getter(&self, name: &str) -> bool
[src]
Trait Implementations
impl Debug for GodotClass
[src]
impl Deserialize for GodotClass
[src]
Auto Trait Implementations
impl RefUnwindSafe for GodotClass
impl Send for GodotClass
impl Sync for GodotClass
impl Unpin for GodotClass
impl UnwindSafe for GodotClass
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,