Struct tree_sitter_graph::functions::stdlib::syntax::SourceText
source · [−]pub struct SourceText;
Expand description
The implementation of the standard source-text
function.
Trait Implementations
sourceimpl Function for SourceText
impl Function for SourceText
fn call(
&mut self,
graph: &mut Graph<'_>,
source: &str,
parameters: &mut dyn Parameters
) -> Result<Value, ExecutionError>
Auto Trait Implementations
impl RefUnwindSafe for SourceText
impl Send for SourceText
impl Sync for SourceText
impl Unpin for SourceText
impl UnwindSafe for SourceText
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more