Enum flow_expression_parser::ast::TargetId
source · pub enum TargetId {
Generated(String),
None,
Named(String),
}
Expand description
TargetId differentiates between user-provided IDs, generated IDs, and no IDs.
Variants§
Generated(String)
An automatically generated ID
None
No ID provided
Named(String)
A user-provided ID
Implementations§
Trait Implementations§
source§impl PartialEq<TargetId> for TargetId
impl PartialEq<TargetId> for TargetId
impl Eq for TargetId
impl StructuralEq for TargetId
impl StructuralPartialEq for TargetId
Auto Trait Implementations§
impl RefUnwindSafe for TargetId
impl Send for TargetId
impl Sync for TargetId
impl Unpin for TargetId
impl UnwindSafe for TargetId
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