pub struct ProfilePredicate {
pub name: &'static str,
pub kinds: &'static [ArgKind],
pub role: Role,
}Expand description
One declared predicate of the standard profile; its arity is kinds.len().
Fields§
§name: &'static str§kinds: &'static [ArgKind]§role: RoleImplementations§
Trait Implementations§
Source§impl Clone for ProfilePredicate
impl Clone for ProfilePredicate
Source§fn clone(&self) -> ProfilePredicate
fn clone(&self) -> ProfilePredicate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProfilePredicate
Source§impl Debug for ProfilePredicate
impl Debug for ProfilePredicate
impl Eq for ProfilePredicate
Source§impl PartialEq for ProfilePredicate
impl PartialEq for ProfilePredicate
Source§fn eq(&self, other: &ProfilePredicate) -> bool
fn eq(&self, other: &ProfilePredicate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProfilePredicate
Auto Trait Implementations§
impl Freeze for ProfilePredicate
impl RefUnwindSafe for ProfilePredicate
impl Send for ProfilePredicate
impl Sync for ProfilePredicate
impl Unpin for ProfilePredicate
impl UnsafeUnpin for ProfilePredicate
impl UnwindSafe for ProfilePredicate
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