pub struct PredicateRef {
pub id: PredicateId,
pub name: String,
pub arity: usize,
}Fields§
§id: PredicateId§name: String§arity: usizeTrait Implementations§
Source§impl Clone for PredicateRef
impl Clone for PredicateRef
Source§fn clone(&self) -> PredicateRef
fn clone(&self) -> PredicateRef
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 PredicateRef
impl Debug for PredicateRef
Source§impl Default for PredicateRef
impl Default for PredicateRef
Source§fn default() -> PredicateRef
fn default() -> PredicateRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PredicateRef
impl<'de> Deserialize<'de> for PredicateRef
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 PartialEq for PredicateRef
impl PartialEq for PredicateRef
Source§impl Serialize for PredicateRef
impl Serialize for PredicateRef
impl Eq for PredicateRef
impl StructuralPartialEq for PredicateRef
Auto Trait Implementations§
impl Freeze for PredicateRef
impl RefUnwindSafe for PredicateRef
impl Send for PredicateRef
impl Sync for PredicateRef
impl Unpin for PredicateRef
impl UnwindSafe for PredicateRef
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