pub struct InputScalarCompilationArg { /* private fields */ }Implementations§
Source§impl InputScalarCompilationArg
impl InputScalarCompilationArg
pub fn new(ty: StorageType) -> Self
Trait Implementations§
Source§impl Clone for InputScalarCompilationArg
impl Clone for InputScalarCompilationArg
Source§fn clone(&self) -> InputScalarCompilationArg
fn clone(&self) -> InputScalarCompilationArg
Returns a duplicate 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 CompilationArg for InputScalarCompilationArg
impl CompilationArg for InputScalarCompilationArg
Source§fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
Compilation args should be the same even with different element types. However, it isn’t
possible to enforce it with the type system. So, we make the compilation args serializable
and dynamically cast them. Read more
Source§impl Debug for InputScalarCompilationArg
impl Debug for InputScalarCompilationArg
Source§impl<'de> Deserialize<'de> for InputScalarCompilationArg
impl<'de> Deserialize<'de> for InputScalarCompilationArg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for InputScalarCompilationArg
impl Hash for InputScalarCompilationArg
impl Eq for InputScalarCompilationArg
impl StructuralPartialEq for InputScalarCompilationArg
Auto Trait Implementations§
impl Freeze for InputScalarCompilationArg
impl RefUnwindSafe for InputScalarCompilationArg
impl Send for InputScalarCompilationArg
impl Sync for InputScalarCompilationArg
impl Unpin for InputScalarCompilationArg
impl UnwindSafe for InputScalarCompilationArg
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.