pub struct Override {
pub name: Option<String>,
pub id: Option<u16>,
pub ty: Handle<Type>,
pub init: Option<Handle<Expression>>,
}
Expand description
Pipeline-overridable constant.
Fields§
§name: Option<String>
§id: Option<u16>
Pipeline Constant ID.
ty: Handle<Type>
§init: Option<Handle<Expression>>
The default value of the pipeline-overridable constant.
This Handle
refers to Module::global_expressions
, not
any Function::expressions
arena.
Trait Implementations§
impl StructuralPartialEq for Override
Auto Trait Implementations§
impl Freeze for Override
impl RefUnwindSafe for Override
impl Send for Override
impl Sync for Override
impl Unpin for Override
impl UnwindSafe for Override
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)