Struct glslang::ShaderOptions
source · #[repr(transparent)]pub struct ShaderOptions(pub i32);
Expand description
Shader compilation flags.
Tuple Fields§
§0: i32
Implementations§
source§impl glslang_shader_options_t
impl glslang_shader_options_t
pub const DEFAULT: glslang_shader_options_t = _
source§impl glslang_shader_options_t
impl glslang_shader_options_t
pub const AUTO_MAP_BINDINGS: glslang_shader_options_t = _
source§impl glslang_shader_options_t
impl glslang_shader_options_t
pub const AUTO_MAP_LOCATIONS: glslang_shader_options_t = _
source§impl glslang_shader_options_t
impl glslang_shader_options_t
pub const VULKAN_RULES_RELAXED: glslang_shader_options_t = _
Trait Implementations§
source§impl BitAnd for glslang_shader_options_t
impl BitAnd for glslang_shader_options_t
§type Output = glslang_shader_options_t
type Output = glslang_shader_options_t
The resulting type after applying the
&
operator.source§fn bitand(self, other: glslang_shader_options_t) -> glslang_shader_options_t
fn bitand(self, other: glslang_shader_options_t) -> glslang_shader_options_t
Performs the
&
operation. Read moresource§impl BitAndAssign for glslang_shader_options_t
impl BitAndAssign for glslang_shader_options_t
source§fn bitand_assign(&mut self, rhs: glslang_shader_options_t)
fn bitand_assign(&mut self, rhs: glslang_shader_options_t)
Performs the
&=
operation. Read moresource§impl BitOr for glslang_shader_options_t
impl BitOr for glslang_shader_options_t
§type Output = glslang_shader_options_t
type Output = glslang_shader_options_t
The resulting type after applying the
|
operator.source§fn bitor(self, other: glslang_shader_options_t) -> glslang_shader_options_t
fn bitor(self, other: glslang_shader_options_t) -> glslang_shader_options_t
Performs the
|
operation. Read moresource§impl BitOrAssign for glslang_shader_options_t
impl BitOrAssign for glslang_shader_options_t
source§fn bitor_assign(&mut self, rhs: glslang_shader_options_t)
fn bitor_assign(&mut self, rhs: glslang_shader_options_t)
Performs the
|=
operation. Read moresource§impl Clone for glslang_shader_options_t
impl Clone for glslang_shader_options_t
source§fn clone(&self) -> glslang_shader_options_t
fn clone(&self) -> glslang_shader_options_t
Returns a copy 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 glslang_shader_options_t
impl Debug for glslang_shader_options_t
source§impl Hash for glslang_shader_options_t
impl Hash for glslang_shader_options_t
source§impl PartialEq for glslang_shader_options_t
impl PartialEq for glslang_shader_options_t
source§fn eq(&self, other: &glslang_shader_options_t) -> bool
fn eq(&self, other: &glslang_shader_options_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for glslang_shader_options_t
impl Eq for glslang_shader_options_t
impl StructuralPartialEq for glslang_shader_options_t
Auto Trait Implementations§
impl RefUnwindSafe for glslang_shader_options_t
impl Send for glslang_shader_options_t
impl Sync for glslang_shader_options_t
impl Unpin for glslang_shader_options_t
impl UnwindSafe for glslang_shader_options_t
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