pub(crate) struct TypeSet {
pub lanes: BTreeSet<u16>,
pub dynamic_lanes: BTreeSet<u16>,
pub ints: BTreeSet<u16>,
pub floats: BTreeSet<u16>,
}
Fields§
§lanes: BTreeSet<u16>
§dynamic_lanes: BTreeSet<u16>
§ints: BTreeSet<u16>
§floats: BTreeSet<u16>
Implementations§
Source§impl TypeSet
impl TypeSet
fn new( lanes: BTreeSet<u16>, dynamic_lanes: BTreeSet<u16>, ints: BTreeSet<u16>, floats: BTreeSet<u16>, ) -> Self
Sourcefn image(&self, derived_func: DerivedFunc) -> TypeSet
fn image(&self, derived_func: DerivedFunc) -> TypeSet
Return the image of self across the derived function func.
Sourcefn half_width(&self) -> TypeSet
fn half_width(&self) -> TypeSet
Return a TypeSet describing the image of self across halfwidth.
Sourcefn double_width(&self) -> TypeSet
fn double_width(&self) -> TypeSet
Return a TypeSet describing the image of self across doublewidth.
Sourcefn half_vector(&self) -> TypeSet
fn half_vector(&self) -> TypeSet
Return a TypeSet describing the image of self across halfvector.
Sourcefn double_vector(&self) -> TypeSet
fn double_vector(&self) -> TypeSet
Return a TypeSet describing the image of self across doublevector.
fn dynamic_to_vector(&self) -> TypeSet
fn concrete_types(&self) -> Vec<ValueType>
Sourcefn get_singleton(&self) -> ValueType
fn get_singleton(&self) -> ValueType
Return the singleton type represented by self. Can only call on typesets containing 1 type.
Trait Implementations§
impl Eq for TypeSet
impl StructuralPartialEq for TypeSet
Auto Trait Implementations§
impl Freeze for TypeSet
impl RefUnwindSafe for TypeSet
impl Send for TypeSet
impl Sync for TypeSet
impl Unpin for TypeSet
impl UnwindSafe for TypeSet
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