Skip to main content

Module ty

Module ty 

Source

Re-exportsยง

use std::fmt; ๐Ÿ”’
use std::ops::Deref; ๐Ÿ”’
use std::ops::Range; ๐Ÿ”’
use rustc_data_structures::intern::Interned; ๐Ÿ”’
use rustc_data_structures::range_set::RangeSet; ๐Ÿ”’
use rustc_macros::StableHash; ๐Ÿ”’
use crate::layout::FieldIdx; ๐Ÿ”’
use crate::layout::VariantIdx; ๐Ÿ”’
use crate::Align; ๐Ÿ”’
use crate::BackendRepr; ๐Ÿ”’
use crate::FieldsShape; ๐Ÿ”’
use crate::Float; ๐Ÿ”’
use crate::HasDataLayout; ๐Ÿ”’
use crate::LayoutData; ๐Ÿ”’
use crate::Niche; ๐Ÿ”’
use crate::Numeric; ๐Ÿ”’
use crate::PointeeInfo; ๐Ÿ”’
use crate::Primitive; ๐Ÿ”’
use crate::Size; ๐Ÿ”’
use crate::Variants; ๐Ÿ”’

Structsยง

Layout
TyAndLayout
The layout of a type, alongside the type itself. Provides various type traversal APIs (e.g., recursing into fields).

Traitsยง

TyAbiInterface
Trait that needs to be implemented by the higher-level type representation (e.g. rustc_middle::ty::Ty), to provide rustc_target::abi functionality.