#[repr(u32)]pub enum FuncSharedConfig {
DefaultBankSize = 0,
FourByteBankSize = 1,
EightByteBankSize = 2,
}
Expand description
A Function
shared memory config
Variants§
DefaultBankSize = 0
set default shared memory bank size
FourByteBankSize = 1
set shared memory bank width to four bytes
EightByteBankSize = 2
set shared memory bank width to eight bytes
Trait Implementations§
Source§fn clone(&self) -> FuncSharedConfig
fn clone(&self) -> FuncSharedConfig
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§type Error = TryFromPrimitiveError<FuncSharedConfig>
type Error = TryFromPrimitiveError<FuncSharedConfig>
The type returned in the event of a conversion error.
Auto Trait Implementations§
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