Searched defs:from_scalar (Results 1 – 4 of 4) sorted by relevance
130 pub fn from_scalar<'tcx>( in from_scalar() method
204 pub fn from_scalar(val: Scalar<Prov>, layout: TyAndLayout<'tcx>) -> Self { in from_scalar() method
1411 pub fn from_scalar<C: HasDataLayout>(cx: &C, offset: Size, scalar: Scalar) -> Option<Self> { in from_scalar() method
2463 pub fn from_scalar(_tcx: TyCtxt<'tcx>, s: Scalar, ty: Ty<'tcx>) -> Self { in from_scalar() method