pub enum ConstraintOption {
DeferrableConstraintOption(DeferrableConstraintOption),
Enforced(Enforced),
Inherit(Inherit),
InitiallyDeferredConstraintOption(InitiallyDeferredConstraintOption),
InitiallyImmediateConstraintOption(InitiallyImmediateConstraintOption),
NoInherit(NoInherit),
NotDeferrableConstraintOption(NotDeferrableConstraintOption),
NotEnforced(NotEnforced),
NotValid(NotValid),
}Variants§
DeferrableConstraintOption(DeferrableConstraintOption)
Enforced(Enforced)
Inherit(Inherit)
InitiallyDeferredConstraintOption(InitiallyDeferredConstraintOption)
InitiallyImmediateConstraintOption(InitiallyImmediateConstraintOption)
NoInherit(NoInherit)
NotDeferrableConstraintOption(NotDeferrableConstraintOption)
NotEnforced(NotEnforced)
NotValid(NotValid)
Trait Implementations§
Source§impl AstNode for ConstraintOption
impl AstNode for ConstraintOption
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for ConstraintOption
impl Clone for ConstraintOption
Source§fn clone(&self) -> ConstraintOption
fn clone(&self) -> ConstraintOption
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 ConstraintOption
impl Debug for ConstraintOption
impl Eq for ConstraintOption
Source§impl From<DeferrableConstraintOption> for ConstraintOption
impl From<DeferrableConstraintOption> for ConstraintOption
Source§fn from(node: DeferrableConstraintOption) -> ConstraintOption
fn from(node: DeferrableConstraintOption) -> ConstraintOption
Converts to this type from the input type.
Source§impl From<Enforced> for ConstraintOption
impl From<Enforced> for ConstraintOption
Source§fn from(node: Enforced) -> ConstraintOption
fn from(node: Enforced) -> ConstraintOption
Converts to this type from the input type.
Source§impl From<Inherit> for ConstraintOption
impl From<Inherit> for ConstraintOption
Source§fn from(node: Inherit) -> ConstraintOption
fn from(node: Inherit) -> ConstraintOption
Converts to this type from the input type.
Source§impl From<InitiallyDeferredConstraintOption> for ConstraintOption
impl From<InitiallyDeferredConstraintOption> for ConstraintOption
Source§fn from(node: InitiallyDeferredConstraintOption) -> ConstraintOption
fn from(node: InitiallyDeferredConstraintOption) -> ConstraintOption
Converts to this type from the input type.
Source§impl From<InitiallyImmediateConstraintOption> for ConstraintOption
impl From<InitiallyImmediateConstraintOption> for ConstraintOption
Source§fn from(node: InitiallyImmediateConstraintOption) -> ConstraintOption
fn from(node: InitiallyImmediateConstraintOption) -> ConstraintOption
Converts to this type from the input type.
Source§impl From<NoInherit> for ConstraintOption
impl From<NoInherit> for ConstraintOption
Source§fn from(node: NoInherit) -> ConstraintOption
fn from(node: NoInherit) -> ConstraintOption
Converts to this type from the input type.
Source§impl From<NotDeferrableConstraintOption> for ConstraintOption
impl From<NotDeferrableConstraintOption> for ConstraintOption
Source§fn from(node: NotDeferrableConstraintOption) -> ConstraintOption
fn from(node: NotDeferrableConstraintOption) -> ConstraintOption
Converts to this type from the input type.
Source§impl From<NotEnforced> for ConstraintOption
impl From<NotEnforced> for ConstraintOption
Source§fn from(node: NotEnforced) -> ConstraintOption
fn from(node: NotEnforced) -> ConstraintOption
Converts to this type from the input type.
Source§impl From<NotValid> for ConstraintOption
impl From<NotValid> for ConstraintOption
Source§fn from(node: NotValid) -> ConstraintOption
fn from(node: NotValid) -> ConstraintOption
Converts to this type from the input type.
Source§impl Hash for ConstraintOption
impl Hash for ConstraintOption
Source§impl PartialEq for ConstraintOption
impl PartialEq for ConstraintOption
impl StructuralPartialEq for ConstraintOption
Auto Trait Implementations§
impl !RefUnwindSafe for ConstraintOption
impl !Send for ConstraintOption
impl !Sync for ConstraintOption
impl !UnwindSafe for ConstraintOption
impl Freeze for ConstraintOption
impl Unpin for ConstraintOption
impl UnsafeUnpin for ConstraintOption
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more