pub struct SourceLanguage(/* private fields */);Implementations§
Source§impl SourceLanguage
impl SourceLanguage
pub const UNKNOWN: Self
pub const ESSL: Self
pub const GLSL: Self
pub const OPEN_CL_C: Self
pub const OPEN_CL_CPP: Self
pub const HLSL: Self
pub const CPP_FOR_OPEN_CL: Self
pub const SYCL: Self
pub const HERO_C: Self
pub const NZSL: Self
pub const WGSL: Self
pub const SLANG: Self
pub const ZIG: Self
pub const RUST: Self
Trait Implementations§
Source§impl Clone for SourceLanguage
impl Clone for SourceLanguage
Source§fn clone(&self) -> SourceLanguage
fn clone(&self) -> SourceLanguage
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 Debug for SourceLanguage
impl Debug for SourceLanguage
Source§impl Display for SourceLanguage
impl Display for SourceLanguage
Source§impl PartialEq for SourceLanguage
impl PartialEq for SourceLanguage
impl Copy for SourceLanguage
impl Eq for SourceLanguage
impl StructuralPartialEq for SourceLanguage
Auto Trait Implementations§
impl Freeze for SourceLanguage
impl RefUnwindSafe for SourceLanguage
impl Send for SourceLanguage
impl Sync for SourceLanguage
impl Unpin for SourceLanguage
impl UnsafeUnpin for SourceLanguage
impl UnwindSafe for SourceLanguage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> WordExt<'a> for Twhere
T: Word,
impl<'a, T> WordExt<'a> for Twhere
T: Word,
Source§fn parse_one(stream: &mut InstructionStream<'a>) -> ParseResult<Self>
fn parse_one(stream: &mut InstructionStream<'a>) -> ParseResult<Self>
Parses one word.
Source§fn parse_optional(
stream: &mut InstructionStream<'a>,
) -> ParseResult<Option<Self>>
fn parse_optional( stream: &mut InstructionStream<'a>, ) -> ParseResult<Option<Self>>
Tries to optionally parse one word.
Source§fn parse_eos(stream: &mut InstructionStream<'a>) -> ParseResult<&'a [Self]>
fn parse_eos(stream: &mut InstructionStream<'a>) -> ParseResult<&'a [Self]>
Parses words until the end of the stream.