Struct anchor_syn::ConstraintRaw
source · pub struct ConstraintRaw {
pub raw: Expr,
pub error: Option<Expr>,
}
Fields§
§raw: Expr
§error: Option<Expr>
Trait Implementations§
source§impl Clone for ConstraintRaw
impl Clone for ConstraintRaw
source§fn clone(&self) -> ConstraintRaw
fn clone(&self) -> ConstraintRaw
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ConstraintRaw
impl RefUnwindSafe for ConstraintRaw
impl !Send for ConstraintRaw
impl !Sync for ConstraintRaw
impl Unpin for ConstraintRaw
impl UnwindSafe for ConstraintRaw
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