pub struct MslSource<'a> {
pub vertex_main_function: &'a str,
pub fragment_main_function: &'a str,
pub source: &'a str,
pub fast_math: bool,
}Expand description
Metal Shading Language source strings.
Fields§
§vertex_main_function: &'a str§fragment_main_function: &'a str§source: &'a str§fast_math: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Forget for MslSource<'a>
impl<'a> Freeze for MslSource<'a>
impl<'a> Move for MslSource<'a>
impl<'a> RefUnwindSafe for MslSource<'a>
impl<'a> Send for MslSource<'a>
impl<'a> Sync for MslSource<'a>
impl<'a> Unpin for MslSource<'a>
impl<'a> UnsafeUnpin for MslSource<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for MslSource<'a>where
&'a str: UnwindSafe,
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