pub enum StageIdent {
A,
B,
}
Expand description
Identifier for the stage in global double buffering
Variants§
Implementations§
Source§impl StageIdent
impl StageIdent
pub fn new_A() -> Self
pub fn __expand_new_A(_: &mut Scope) -> StageIdentExpand
pub fn new_B() -> Self
pub fn __expand_new_B(_: &mut Scope) -> StageIdentExpand
Trait Implementations§
Source§impl Clone for StageIdent
impl Clone for StageIdent
Source§fn clone(&self) -> StageIdent
fn clone(&self) -> StageIdent
Returns a duplicate 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 moreSource§impl CubeDebug for StageIdent
impl CubeDebug for StageIdent
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Source§impl CubeType for StageIdent
impl CubeType for StageIdent
type ExpandType = StageIdentExpand
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
impl Copy for StageIdent
Auto Trait Implementations§
impl Freeze for StageIdent
impl RefUnwindSafe for StageIdent
impl Send for StageIdent
impl Sync for StageIdent
impl Unpin for StageIdent
impl UnwindSafe for StageIdent
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