pub enum PrgType {
Src,
Ir,
Bin,
Graph,
}
Expand description
The list of possible program types
Variants§
Src
An OpenCL source file
Ir
An IR(Intermediate Representation) file typically specific to a given architecture
Bin
A Bitstream, typically to be loaded to an FPGA
Graph
A Bistream, typically to be loaded to a Dataflow or CGRA architecture
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PrgType
impl<'de> Deserialize<'de> for PrgType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PrgType
impl RefUnwindSafe for PrgType
impl Send for PrgType
impl Sync for PrgType
impl Unpin for PrgType
impl UnwindSafe for PrgType
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