pub enum RelationParameter {
Variable(Variable),
OneOrMore(UnboundedVariable),
}
Expand description
Relation parameter.
Variants§
Variable(Variable)
OneOrMore(UnboundedVariable)
Trait Implementations§
Source§impl Clone for RelationParameter
impl Clone for RelationParameter
Source§fn clone(&self) -> RelationParameter
fn clone(&self) -> RelationParameter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RelationParameter
impl Debug for RelationParameter
Source§impl<'a> FetchTarget<'a, RelationParameter> for RelatingParameterTarget
impl<'a> FetchTarget<'a, RelationParameter> for RelatingParameterTarget
Source§fn fetch_values(
&self,
spec: &'a Specification,
) -> Result<&'a [RelationParameter], TargetError<Self>>
fn fetch_values( &self, spec: &'a Specification, ) -> Result<&'a [RelationParameter], TargetError<Self>>
Fetch the map reference containing the targeted item.
Source§fn fetch_values_mut(
&self,
spec: &'a mut Specification,
) -> Result<&'a mut [RelationParameter], TargetError<Self>>
fn fetch_values_mut( &self, spec: &'a mut Specification, ) -> Result<&'a mut [RelationParameter], TargetError<Self>>
Fetch the mutable map reference containing the targeted item.
Source§fn fetch(&self, spec: &'a Specification) -> Result<&'a V, TargetError<Self>>
fn fetch(&self, spec: &'a Specification) -> Result<&'a V, TargetError<Self>>
Fetch a reference to the target from the specification.
Source§fn fetch_mut(
&self,
spec: &'a mut Specification,
) -> Result<&'a mut V, TargetError<Self>>
fn fetch_mut( &self, spec: &'a mut Specification, ) -> Result<&'a mut V, TargetError<Self>>
Fetch a mutable reference to the target from the specification.
Source§impl<'a> FetchTarget<'a, RelationParameter> for RequiringParameterTarget
impl<'a> FetchTarget<'a, RelationParameter> for RequiringParameterTarget
Source§fn fetch_values(
&self,
spec: &'a Specification,
) -> Result<&'a [RelationParameter], TargetError<Self>>
fn fetch_values( &self, spec: &'a Specification, ) -> Result<&'a [RelationParameter], TargetError<Self>>
Fetch the map reference containing the targeted item.
Source§fn fetch_values_mut(
&self,
spec: &'a mut Specification,
) -> Result<&'a mut [RelationParameter], TargetError<Self>>
fn fetch_values_mut( &self, spec: &'a mut Specification, ) -> Result<&'a mut [RelationParameter], TargetError<Self>>
Fetch the mutable map reference containing the targeted item.
Source§fn fetch(&self, spec: &'a Specification) -> Result<&'a V, TargetError<Self>>
fn fetch(&self, spec: &'a Specification) -> Result<&'a V, TargetError<Self>>
Fetch a reference to the target from the specification.
Source§fn fetch_mut(
&self,
spec: &'a mut Specification,
) -> Result<&'a mut V, TargetError<Self>>
fn fetch_mut( &self, spec: &'a mut Specification, ) -> Result<&'a mut V, TargetError<Self>>
Fetch a mutable reference to the target from the specification.
Source§impl<'a> FetchTarget<'a, RelationParameter> for ReturningParameterTarget
impl<'a> FetchTarget<'a, RelationParameter> for ReturningParameterTarget
Source§fn fetch_values(
&self,
spec: &'a Specification,
) -> Result<&'a [RelationParameter], TargetError<Self>>
fn fetch_values( &self, spec: &'a Specification, ) -> Result<&'a [RelationParameter], TargetError<Self>>
Fetch the map reference containing the targeted item.
Source§fn fetch_values_mut(
&self,
spec: &'a mut Specification,
) -> Result<&'a mut [RelationParameter], TargetError<Self>>
fn fetch_values_mut( &self, spec: &'a mut Specification, ) -> Result<&'a mut [RelationParameter], TargetError<Self>>
Fetch the mutable map reference containing the targeted item.
Source§fn fetch(&self, spec: &'a Specification) -> Result<&'a V, TargetError<Self>>
fn fetch(&self, spec: &'a Specification) -> Result<&'a V, TargetError<Self>>
Fetch a reference to the target from the specification.
Source§fn fetch_mut(
&self,
spec: &'a mut Specification,
) -> Result<&'a mut V, TargetError<Self>>
fn fetch_mut( &self, spec: &'a mut Specification, ) -> Result<&'a mut V, TargetError<Self>>
Fetch a mutable reference to the target from the specification.
Source§impl From<RelationParameter> for FileLocation
impl From<RelationParameter> for FileLocation
Source§fn from(val: RelationParameter) -> Self
fn from(val: RelationParameter) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RelationParameter
impl PartialEq for RelationParameter
impl StructuralPartialEq for RelationParameter
Auto Trait Implementations§
impl Freeze for RelationParameter
impl RefUnwindSafe for RelationParameter
impl !Send for RelationParameter
impl !Sync for RelationParameter
impl Unpin for RelationParameter
impl UnwindSafe for RelationParameter
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