pub struct GodotBool {
pub value: bool,
}Expand description
A bool from godot
Fields§
§value: boolImplementations§
Trait Implementations§
Source§impl GodotVariant for GodotBool
impl GodotVariant for GodotBool
Source§fn byte_length(&self) -> usize
fn byte_length(&self) -> usize
Describes the byte length of a variant, most primitive variants have a static byte length.
However some variants like a dictionary may have dynamic sizes
Source§fn variant_eq(&self, other: &dyn GodotVariant) -> bool
fn variant_eq(&self, other: &dyn GodotVariant) -> bool
Checks if a variant is equal to another variant
impl Copy for GodotBool
Auto Trait Implementations§
impl Freeze for GodotBool
impl RefUnwindSafe for GodotBool
impl Send for GodotBool
impl Sync for GodotBool
impl Unpin for GodotBool
impl UnwindSafe for GodotBool
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