Struct rustc_target::abi::Scalar [−][src]
pub struct Scalar {
pub value: Primitive,
pub valid_range: WrappingRange,
}Expand description
Information about one scalar component of a Rust type.
Fields
value: Primitivevalid_range: WrappingRangeImplementations
Returns the valid range as a x..y range.
If x and y are equal, the range is full, not empty.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Scalar
impl UnwindSafe for Scalar
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes