Struct tree_sitter_cli::parse::ParseFileOptions
source · pub struct ParseFileOptions<'a> {
pub language: Language,
pub path: &'a Path,
pub edits: &'a [&'a str],
pub max_path_length: usize,
pub output: ParseOutput,
pub print_time: bool,
pub timeout: u64,
pub debug: bool,
pub debug_graph: bool,
pub cancellation_flag: Option<&'a AtomicUsize>,
pub encoding: Option<u32>,
pub open_log: bool,
}Fields§
§language: Language§path: &'a Path§edits: &'a [&'a str]§max_path_length: usize§output: ParseOutput§print_time: bool§timeout: u64§debug: bool§debug_graph: bool§cancellation_flag: Option<&'a AtomicUsize>§encoding: Option<u32>§open_log: boolAuto Trait Implementations§
impl<'a> Freeze for ParseFileOptions<'a>
impl<'a> RefUnwindSafe for ParseFileOptions<'a>
impl<'a> Send for ParseFileOptions<'a>
impl<'a> Sync for ParseFileOptions<'a>
impl<'a> Unpin for ParseFileOptions<'a>
impl<'a> UnwindSafe for ParseFileOptions<'a>
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