pub struct Method<T> { /* fields omitted */ }
A method for enforcing a Constraint
.
It usually has a set of input-variables, a set of output-variables,
and a function for creating the outputs from the inputs.
Formats the value using the given formatter. Read more
type Arg = T
The input and output type of the method.
Constructs a new MethodSpec
with the specified name, inputs, outputs, and function.
Apply the inner function of this method
Returns a reference to the name of the method.
fn eq(&self, other: &Self) -> bool
[src]
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
#[must_use]
pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
Get the indices of the inputs to this method
Get the indices of the outputs to this method
Creates a vertex that reads and writes to the same index.
That is, if we create a vertex v = stay(3)
,
its only input is 3, and its only output is 3. Read more
Returns true if the vertex reads from and writes to the same index.
Returns the number of inputs of this vertex.
Returns the number of outputs of this vertex.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.