pub struct Rule<'data>(pub VarZeroVec<'data, RelationULE>);
Expand description
๐ง This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. In particular, the `DataProvider` implementations are only
guaranteed to match with this version's `*_unstable` providers. Use with caution.
Tuple Fieldsยง
ยง0: VarZeroVec<'data, RelationULE>
Trait Implementationsยง
Sourceยงimpl<'de: 'data, 'data> Deserialize<'de> for Rule<'data>
impl<'de: 'data, 'data> Deserialize<'de> for Rule<'data>
Sourceยงfn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl<'a> Yokeable<'a> for Rule<'static>
impl<'a> Yokeable<'a> for Rule<'static>
Sourceยงtype Output = Rule<'a>
type Output = Rule<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
Sourceยงfn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
impl<'data> StructuralPartialEq for Rule<'data>
Auto Trait Implementationsยง
impl<'data> Freeze for Rule<'data>
impl<'data> RefUnwindSafe for Rule<'data>
impl<'data> Send for Rule<'data>
impl<'data> Sync for Rule<'data>
impl<'data> Unpin for Rule<'data>
impl<'data> UnwindSafe for Rule<'data>
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> 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