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§
source§impl Clone for AssemblerOptions
impl Clone for AssemblerOptions
source§fn clone(&self) -> AssemblerOptions
fn clone(&self) -> AssemblerOptions
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 Default for AssemblerOptions
impl Default for AssemblerOptions
source§fn default() -> AssemblerOptions
fn default() -> AssemblerOptions
Returns the “default value” for a type. Read more
source§impl Into<u32> for AssemblerOptions
impl Into<u32> for AssemblerOptions
impl Copy for AssemblerOptions
Auto Trait Implementations§
impl Freeze for AssemblerOptions
impl RefUnwindSafe for AssemblerOptions
impl Send for AssemblerOptions
impl Sync for AssemblerOptions
impl Unpin for AssemblerOptions
impl UnwindSafe for AssemblerOptions
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