Struct tree_sitter_c2rust::core::ErrorStatus
source · #[repr(C)]pub struct ErrorStatus {
pub cost: c_uint,
pub node_count: c_uint,
pub dynamic_precedence: c_int,
pub is_in_error: bool,
}
Fields§
§cost: c_uint
§node_count: c_uint
§dynamic_precedence: c_int
§is_in_error: bool
Trait Implementations§
source§impl Clone for ErrorStatus
impl Clone for ErrorStatus
source§fn clone(&self) -> ErrorStatus
fn clone(&self) -> ErrorStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ErrorStatus
Auto Trait Implementations§
impl Freeze for ErrorStatus
impl RefUnwindSafe for ErrorStatus
impl Send for ErrorStatus
impl Sync for ErrorStatus
impl Unpin for ErrorStatus
impl UnwindSafe for ErrorStatus
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