Struct gdnative::PlaneShape [−][src]
pub struct PlaneShape { /* fields omitted */ }core class PlaneShape : Shape (reference counted)
Base class
PlaneShape inherits Shape and all of its methods.
Memory management
The lifetime of this object is automatically managed through reference counting.
Methods
impl PlaneShape[src]
impl PlaneShapepub fn as_shape(&self) -> Shape[src]
pub fn as_shape(&self) -> ShapeUp-cast.
pub fn new() -> Self[src]
pub fn new() -> Selfpub fn new_ref(&self) -> Self[src]
pub fn new_ref(&self) -> SelfCreates a new reference to the same object.
pub fn set_plane(&mut self, plane: Plane)[src]
pub fn set_plane(&mut self, plane: Plane)pub fn get_plane(&self) -> Plane[src]
pub fn get_plane(&self) -> Planepub fn cast<T: GodotObject>(&self) -> Option<T>[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>Methods from Deref<Target = Shape>
pub fn as_resource(&self) -> Resource[src]
pub fn as_resource(&self) -> ResourceUp-cast.
pub fn cast<T: GodotObject>(&self) -> Option<T>[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>Trait Implementations
impl GodotObject for PlaneShape[src]
impl GodotObject for PlaneShapefn class_name() -> &'static str[src]
fn class_name() -> &'static strunsafe fn from_sys(obj: *mut godot_object) -> Self[src]
unsafe fn from_sys(obj: *mut godot_object) -> Selfunsafe fn to_sys(&self) -> *mut godot_object[src]
unsafe fn to_sys(&self) -> *mut godot_objectimpl Deref for PlaneShape[src]
impl Deref for PlaneShapetype Target = Shape
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
fn deref(&self) -> &Self::TargetDereferences the value.
impl DerefMut for PlaneShape[src]
impl DerefMut for PlaneShapeimpl Drop for PlaneShape[src]
impl Drop for PlaneShapeAuto Trait Implementations
impl !Send for PlaneShape
impl !Send for PlaneShapeimpl !Sync for PlaneShape
impl !Sync for PlaneShape