pub enum Chunk {
Main,
Function(FunctionID),
}
Variants§
Main
Function(FunctionID)
Trait Implementations§
Source§impl From<u16> for Chunk
impl From<u16> for Chunk
Source§fn from(fun_id: FunctionID) -> Self
fn from(fun_id: FunctionID) -> Self
Converts to this type from the input type.
impl Copy for Chunk
impl Eq for Chunk
impl StructuralPartialEq for Chunk
Auto Trait Implementations§
impl Freeze for Chunk
impl RefUnwindSafe for Chunk
impl Send for Chunk
impl Sync for Chunk
impl Unpin for Chunk
impl UnwindSafe for Chunk
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