Skip to main content

Sources

Struct Sources 

Source
pub struct Sources { /* private fields */ }
Expand description

The pass. It holds nothing, because everything it works out is about one function. Which of the places a fact comes from a run of this pass may ask.

Everything is asked normally and there is one pass in the pipeline. The others are here for the measurement spec/safe-memory/13-performance.md section 13.5 asks for and spec/safe-memory/17-open-questions.md question 3 is: how much each source discharges on its own, and how much the same sources discharge together. A number for a source on its own cannot be read off the remarks of a full run, because the rules are asked in an order and whichever one answers first is the one the remark names, so the second source to be asked about a check two of them could answer looks like it answered nothing.

The four are document 07 section 7.2’s four, with the caveat the measurement found: the ranges are not a fourth kind of fact but a way of asking the other three about a subscript instead of about an address written out in the program.

Implementations§

Source§

impl Sources

Source

pub const ALL: Self

Every one of them, which is what the pipeline runs.

Source

pub const OBJECTS: Self

What an object says about itself and nothing else.

Source

pub const DOMINANCE: Self

What an earlier check established and nothing else.

Source

pub const SUMMARIES: Self

What every caller guarantees and nothing else.

Source

pub const NARROW: Self

Every fact, asked only about addresses written out in the program.

Trait Implementations§

Source§

impl Clone for Sources

Source§

fn clone(&self) -> Sources

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Sources

Source§

impl Debug for Sources

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Sources

Source§

impl PartialEq for Sources

Source§

fn eq(&self, other: &Sources) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Sources

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.