#[repr(C)]pub struct UnityShaderCompilerExtCustomSourceVariantParams {
pub outputSnippet: *mut c_char,
pub outputKeywords: *mut c_char,
pub inputSnippet: *const c_char,
pub vr: bool,
pub platform: UnityShaderCompilerExtCompilerPlatform,
pub shaderType: UnityShaderCompilerExtShaderType,
}
Fields§
§outputSnippet: *mut c_char
§outputKeywords: *mut c_char
§inputSnippet: *const c_char
§vr: bool
§platform: UnityShaderCompilerExtCompilerPlatform
§shaderType: UnityShaderCompilerExtShaderType
Trait Implementations§
Source§impl Clone for UnityShaderCompilerExtCustomSourceVariantParams
impl Clone for UnityShaderCompilerExtCustomSourceVariantParams
Source§fn clone(&self) -> UnityShaderCompilerExtCustomSourceVariantParams
fn clone(&self) -> UnityShaderCompilerExtCustomSourceVariantParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for UnityShaderCompilerExtCustomSourceVariantParams
Auto Trait Implementations§
impl Freeze for UnityShaderCompilerExtCustomSourceVariantParams
impl RefUnwindSafe for UnityShaderCompilerExtCustomSourceVariantParams
impl !Send for UnityShaderCompilerExtCustomSourceVariantParams
impl !Sync for UnityShaderCompilerExtCustomSourceVariantParams
impl Unpin for UnityShaderCompilerExtCustomSourceVariantParams
impl UnwindSafe for UnityShaderCompilerExtCustomSourceVariantParams
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