pub struct Rel(pub String);Expand description
Tuple Fields§
§0: StringImplementations§
Source§impl Rel
impl Rel
Sourcepub fn app<T: WitnessTermTrait>(self, terms: Vec<T>) -> Observation<T>
pub fn app<T: WitnessTermTrait>(self, terms: Vec<T>) -> Observation<T>
Applies the receiver to a list of witness terms.
Sourcepub fn app0<T: WitnessTermTrait>(self) -> Observation<T>
pub fn app0<T: WitnessTermTrait>(self) -> Observation<T>
Applies the (nullary) receiver.
Sourcepub fn app1<T: WitnessTermTrait>(self, first: T) -> Observation<T>
pub fn app1<T: WitnessTermTrait>(self, first: T) -> Observation<T>
Applies the (unary) receiver on a witness term.
Sourcepub fn app2<T: WitnessTermTrait>(self, first: T, second: T) -> Observation<T>
pub fn app2<T: WitnessTermTrait>(self, first: T, second: T) -> Observation<T>
Applies the (binary) receiver on two witness terms.
Sourcepub fn app3<T: WitnessTermTrait>(
self,
first: T,
second: T,
third: T,
) -> Observation<T>
pub fn app3<T: WitnessTermTrait>( self, first: T, second: T, third: T, ) -> Observation<T>
Applies the (ternary) receiver on three witness terms.
Sourcepub fn app4<T: WitnessTermTrait>(
self,
first: T,
second: T,
third: T,
fourth: T,
) -> Observation<T>
pub fn app4<T: WitnessTermTrait>( self, first: T, second: T, third: T, fourth: T, ) -> Observation<T>
Applies the (4-ary) receiver on four witness terms.
Sourcepub fn app5<T: WitnessTermTrait>(
self,
first: T,
second: T,
third: T,
fourth: T,
fifth: T,
) -> Observation<T>
pub fn app5<T: WitnessTermTrait>( self, first: T, second: T, third: T, fourth: T, fifth: T, ) -> Observation<T>
Applies the (5-ary) receiver on five witness terms.
Trait Implementations§
Source§impl Ord for Rel
impl Ord for Rel
Source§impl PartialOrd for Rel
impl PartialOrd for Rel
impl Eq for Rel
impl StructuralPartialEq for Rel
Auto Trait Implementations§
impl Freeze for Rel
impl RefUnwindSafe for Rel
impl Send for Rel
impl Sync for Rel
impl Unpin for Rel
impl UnsafeUnpin for Rel
impl UnwindSafe for Rel
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more