Struct cranelift_codegen_meta::cdsl::typevar::TypeSetBuilder
source · pub(crate) struct TypeSetBuilder {
ints: Interval,
floats: Interval,
refs: Interval,
includes_scalars: bool,
simd_lanes: Interval,
dynamic_simd_lanes: Interval,
}
Fields§
§ints: Interval
§floats: Interval
§refs: Interval
§includes_scalars: bool
§simd_lanes: Interval
§dynamic_simd_lanes: Interval
Implementations§
source§impl TypeSetBuilder
impl TypeSetBuilder
pub fn new() -> Self
pub fn ints(self, interval: impl Into<Interval>) -> Self
pub fn floats(self, interval: impl Into<Interval>) -> Self
pub fn refs(self, interval: impl Into<Interval>) -> Self
pub fn includes_scalars(self, includes_scalars: bool) -> Self
pub fn simd_lanes(self, interval: impl Into<Interval>) -> Self
pub fn dynamic_simd_lanes(self, interval: impl Into<Interval>) -> Self
pub fn build(self) -> TypeSet
Auto Trait Implementations§
impl RefUnwindSafe for TypeSetBuilder
impl Send for TypeSetBuilder
impl Sync for TypeSetBuilder
impl Unpin for TypeSetBuilder
impl UnwindSafe for TypeSetBuilder
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