pub struct Specializer {
pub kind: SpecializerKind,
}
Expand description
Specialization information in cube functions
Fields§
§kind: SpecializerKind
Implementations§
Source§impl Specializer
impl Specializer
pub fn new<G: GlobalConfig>(config: G) -> Specializer
pub fn __expand_new<G: GlobalConfig>( scope: &mut Scope, config: G, ) -> <Specializer as CubeType>::ExpandType
Trait Implementations§
Source§impl Clone for Specializer
impl Clone for Specializer
Source§fn clone(&self) -> Specializer
fn clone(&self) -> Specializer
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 CubeType for Specializer
impl CubeType for Specializer
type ExpandType = SpecializerExpand
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Source§impl Debug for Specializer
impl Debug for Specializer
Source§impl Hash for Specializer
impl Hash for Specializer
Source§impl PartialEq for Specializer
impl PartialEq for Specializer
impl Copy for Specializer
impl Eq for Specializer
impl StructuralPartialEq for Specializer
Auto Trait Implementations§
impl Freeze for Specializer
impl RefUnwindSafe for Specializer
impl Send for Specializer
impl Sync for Specializer
impl Unpin for Specializer
impl UnwindSafe for Specializer
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.