Trait sql_parse::OptSpanned 
source · pub trait OptSpanned {
    // Required method
    fn opt_span(&self) -> Option<Span>;
    // Provided method
    fn opt_join_span(&self, other: &impl OptSpanned) -> Option<Span> { ... }
}Expand description
Compute an optional byte span of an ast fragment
Required Methods§
Provided Methods§
sourcefn opt_join_span(&self, other: &impl OptSpanned) -> Option<Span>
 
fn opt_join_span(&self, other: &impl OptSpanned) -> Option<Span>
Compute the minimal span containing both self and other if either is missing return the other
Object Safety§
This trait is not object safe.