Struct rustc_query_system::dep_graph::serialized::EdgeHeader
source · struct EdgeHeader {
repr: usize,
}
Expand description
A packed representation of an edge’s start index and byte width.
This is packed by stealing 2 bits from the start index, which means we only accomodate edge data arrays up to a quarter of our address space. Which seems fine.
Fields§
§repr: usize
Implementations§
Trait Implementations§
source§impl Clone for EdgeHeader
impl Clone for EdgeHeader
source§fn clone(&self) -> EdgeHeader
fn clone(&self) -> EdgeHeader
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EdgeHeader
impl Debug for EdgeHeader
impl Copy for EdgeHeader
Auto Trait Implementations§
impl RefUnwindSafe for EdgeHeader
impl Send for EdgeHeader
impl Sync for EdgeHeader
impl Unpin for EdgeHeader
impl UnwindSafe for EdgeHeader
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
source§impl<Tcx, T> Value<Tcx> for Twhere
Tcx: DepContext,
impl<Tcx, T> Value<Tcx> for Twhere Tcx: DepContext,
default fn from_cycle_error( tcx: Tcx, cycle: &[QueryInfo], _guar: ErrorGuaranteed ) -> T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. 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: 8 bytes