pub struct AstGrepLimits {
pub max_results: u32,
pub context_lines: u32,
pub timeout_secs: u64,
pub max_output_bytes: u64,
pub max_match_bytes: u64,
}Expand description
The bounds one ast_grep_search call actually runs under.
Fields§
§max_results: u32§context_lines: u32§timeout_secs: u64§max_output_bytes: u64§max_match_bytes: u64Trait Implementations§
Source§impl Clone for AstGrepLimits
impl Clone for AstGrepLimits
impl Copy for AstGrepLimits
Source§impl Debug for AstGrepLimits
impl Debug for AstGrepLimits
impl Eq for AstGrepLimits
Source§impl PartialEq for AstGrepLimits
impl PartialEq for AstGrepLimits
impl StructuralPartialEq for AstGrepLimits
Auto Trait Implementations§
impl Freeze for AstGrepLimits
impl RefUnwindSafe for AstGrepLimits
impl Send for AstGrepLimits
impl Sync for AstGrepLimits
impl Unpin for AstGrepLimits
impl UnsafeUnpin for AstGrepLimits
impl UnwindSafe for AstGrepLimits
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.