pub struct Rule(/* private fields */);Expand description
sources -> targets then … "name";
Implementations§
Source§impl Rule
impl Rule
pub fn sources(&self) -> impl Iterator<Item = Source> + use<>
pub fn targets(&self) -> impl Iterator<Item = Target> + use<>
pub fn dependent(&self) -> Option<DependentClause>
Sourcepub fn identity_fields(&self) -> Vec<String>
pub fn identity_fields(&self) -> Vec<String>
The fields of the batch identity form src.a -> tgt.a : f1, f2;.
Trait Implementations§
Source§impl AstNode for Rule
impl AstNode for Rule
fn can_cast(kind: SyntaxKind) -> bool
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl !RefUnwindSafe for Rule
impl !Send for Rule
impl !Sync for Rule
impl !UnwindSafe for Rule
impl Freeze for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
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