Struct spirv_tools::assembler::AssemblerOptions
source · [−]pub struct AssemblerOptions {
pub preserve_numeric_ids: bool,
}
Fields
preserve_numeric_ids: bool
Numeric IDs in the binary will have the same values as in the source. Non-numeric IDs are allocated by filling in the gaps, starting with 1 and going up.
Trait Implementations
sourceimpl Clone for AssemblerOptions
impl Clone for AssemblerOptions
sourcefn clone(&self) -> AssemblerOptions
fn clone(&self) -> AssemblerOptions
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for AssemblerOptions
impl Default for AssemblerOptions
sourcefn default() -> AssemblerOptions
fn default() -> AssemblerOptions
Returns the “default value” for a type. Read more
sourceimpl Into<u32> for AssemblerOptions
impl Into<u32> for AssemblerOptions
impl Copy for AssemblerOptions
Auto Trait Implementations
impl RefUnwindSafe for AssemblerOptions
impl Send for AssemblerOptions
impl Sync for AssemblerOptions
impl Unpin for AssemblerOptions
impl UnwindSafe for AssemblerOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more