pub struct TypePredicate {
pub asserts: bool,
pub parameter_name: EntityName,
pub type_node: Option<Box<Ty>>,
}Fields§
§asserts: bool§parameter_name: EntityName§type_node: Option<Box<Ty>>Trait Implementations§
Source§impl Clone for TypePredicate
impl Clone for TypePredicate
Source§fn clone(&self) -> TypePredicate
fn clone(&self) -> TypePredicate
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 moreSource§impl Debug for TypePredicate
impl Debug for TypePredicate
impl Eq for TypePredicate
Source§impl PartialEq for TypePredicate
impl PartialEq for TypePredicate
impl StructuralPartialEq for TypePredicate
Auto Trait Implementations§
impl Freeze for TypePredicate
impl RefUnwindSafe for TypePredicate
impl Send for TypePredicate
impl Sync for TypePredicate
impl Unpin for TypePredicate
impl UnsafeUnpin for TypePredicate
impl UnwindSafe for TypePredicate
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