Enum ProjectionPlane
#[repr(C)]pub enum ProjectionPlane {
NEAR = 0,
FAR = 1,
LEFT = 2,
TOP = 3,
RIGHT = 4,
BOTTOM = 5,
}
Expand description
A projection’s clipping plane.
Variants§
Implementations§
§impl ProjectionPlane
impl ProjectionPlane
pub fn try_from_ord(ord: i64) -> Option<ProjectionPlane>
pub fn try_from_ord(ord: i64) -> Option<ProjectionPlane>
Convert from one of GDScript’s Projection.PLANE_*
integer constants.
Trait Implementations§
§impl Clone for ProjectionPlane
impl Clone for ProjectionPlane
§fn clone(&self) -> ProjectionPlane
fn clone(&self) -> ProjectionPlane
Returns a copy 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 more§impl Debug for ProjectionPlane
impl Debug for ProjectionPlane
§impl Hash for ProjectionPlane
impl Hash for ProjectionPlane
§impl PartialEq for ProjectionPlane
impl PartialEq for ProjectionPlane
impl Copy for ProjectionPlane
impl Eq for ProjectionPlane
impl StructuralPartialEq for ProjectionPlane
Auto Trait Implementations§
impl Freeze for ProjectionPlane
impl RefUnwindSafe for ProjectionPlane
impl Send for ProjectionPlane
impl Sync for ProjectionPlane
impl Unpin for ProjectionPlane
impl UnwindSafe for ProjectionPlane
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)