pub enum BufferId {
A,
B,
}
Variants§
Implementations§
Source§impl BufferId
impl BufferId
pub fn new_A() -> Self
pub fn __expand_new_A(_: &mut Scope) -> BufferIdExpand
pub fn new_B() -> Self
pub fn __expand_new_B(_: &mut Scope) -> BufferIdExpand
Trait Implementations§
Source§impl CubeDebug for BufferId
impl CubeDebug for BufferId
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 BufferId
impl CubeType for BufferId
type ExpandType = BufferIdExpand
Source§fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn init(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
impl Copy for BufferId
Auto Trait Implementations§
impl Freeze for BufferId
impl RefUnwindSafe for BufferId
impl Send for BufferId
impl Sync for BufferId
impl Unpin for BufferId
impl UnwindSafe for BufferId
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