pub enum StageBuffer {
A,
B,
}Expand description
Identifier for the stage in global double buffering
Variants§
Implementations§
Source§impl StageBuffer
impl StageBuffer
pub fn new_A() -> Self
pub fn __expand_new_A(_: &mut Scope) -> StageBufferExpand
pub fn new_B() -> Self
pub fn __expand_new_B(_: &mut Scope) -> StageBufferExpand
Trait Implementations§
Source§impl Clone for StageBuffer
impl Clone for StageBuffer
Source§fn clone(&self) -> StageBuffer
fn clone(&self) -> StageBuffer
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 StageBuffer
impl CubeDebug for StageBuffer
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 StageBuffer
impl CubeType for StageBuffer
type ExpandType = StageBufferExpand
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 StageBuffer
Auto Trait Implementations§
impl Freeze for StageBuffer
impl RefUnwindSafe for StageBuffer
impl Send for StageBuffer
impl Sync for StageBuffer
impl Unpin for StageBuffer
impl UnwindSafe for StageBuffer
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