Struct rustc::ty::query::on_disk_cache::AbsoluteBytePos [−][src]
struct AbsoluteBytePos(u32);
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl AbsoluteBytePos[src]
impl AbsoluteBytePosfn new(pos: usize) -> AbsoluteBytePos[src]
fn new(pos: usize) -> AbsoluteBytePos🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn to_usize(self) -> usize[src]
fn to_usize(self) -> usize🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl Copy for AbsoluteBytePos[src]
impl Copy for AbsoluteBytePosimpl Clone for AbsoluteBytePos[src]
impl Clone for AbsoluteBytePosfn clone(&self) -> AbsoluteBytePos[src]
fn clone(&self) -> AbsoluteBytePosReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for AbsoluteBytePos[src]
impl Debug for AbsoluteBytePosfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Hash for AbsoluteBytePos[src]
impl Hash for AbsoluteBytePosfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Eq for AbsoluteBytePos[src]
impl Eq for AbsoluteBytePosfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl PartialEq for AbsoluteBytePos[src]
impl PartialEq for AbsoluteBytePosfn eq(&self, other: &AbsoluteBytePos) -> bool[src]
fn eq(&self, other: &AbsoluteBytePos) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AbsoluteBytePos) -> bool[src]
fn ne(&self, other: &AbsoluteBytePos) -> boolThis method tests for !=.
impl Encodable for AbsoluteBytePos[src]
impl Encodable for AbsoluteBytePosfn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl Decodable for AbsoluteBytePos[src]
impl Decodable for AbsoluteBytePosAuto Trait Implementations
impl Send for AbsoluteBytePos
impl Send for AbsoluteBytePosimpl Sync for AbsoluteBytePos
impl Sync for AbsoluteBytePos