Enum freya_engine::prelude::SurfaceOrigin
#[repr(i32)]pub enum SurfaceOrigin {
TopLeft = 0,
BottomLeft = 1,
}
Variants§
Trait Implementations§
§impl Clone for GrSurfaceOrigin
impl Clone for GrSurfaceOrigin
§fn clone(&self) -> GrSurfaceOrigin
fn clone(&self) -> GrSurfaceOrigin
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 GrSurfaceOrigin
impl Debug for GrSurfaceOrigin
§impl Hash for GrSurfaceOrigin
impl Hash for GrSurfaceOrigin
§impl PartialEq for GrSurfaceOrigin
impl PartialEq for GrSurfaceOrigin
§fn eq(&self, other: &GrSurfaceOrigin) -> bool
fn eq(&self, other: &GrSurfaceOrigin) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GrSurfaceOrigin
impl Eq for GrSurfaceOrigin
impl StructuralEq for GrSurfaceOrigin
impl StructuralPartialEq for GrSurfaceOrigin
Auto Trait Implementations§
impl RefUnwindSafe for GrSurfaceOrigin
impl Send for GrSurfaceOrigin
impl Sync for GrSurfaceOrigin
impl Unpin for GrSurfaceOrigin
impl UnwindSafe for GrSurfaceOrigin
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