Struct vulkano::shader::spirv::FunctionControl
source · pub struct FunctionControl {
pub inline: bool,
pub dont_inline: bool,
pub pure: bool,
pub constant: bool,
pub opt_none_intel: bool,
}
Fields§
§inline: bool
§dont_inline: bool
§pure: bool
§constant: bool
§opt_none_intel: bool
Trait Implementations§
source§impl Clone for FunctionControl
impl Clone for FunctionControl
source§fn clone(&self) -> FunctionControl
fn clone(&self) -> FunctionControl
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 FunctionControl
impl Debug for FunctionControl
source§impl PartialEq for FunctionControl
impl PartialEq for FunctionControl
source§fn eq(&self, other: &FunctionControl) -> bool
fn eq(&self, other: &FunctionControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FunctionControl
impl Eq for FunctionControl
impl StructuralEq for FunctionControl
impl StructuralPartialEq for FunctionControl
Auto Trait Implementations§
impl RefUnwindSafe for FunctionControl
impl Send for FunctionControl
impl Sync for FunctionControl
impl Unpin for FunctionControl
impl UnwindSafe for FunctionControl
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