Struct tree_sitter_c2rust::ffi::AnalysisSubgraphNode
source · #[repr(C)]pub struct AnalysisSubgraphNode {
pub state: c_ushort,
pub production_id: c_ushort,
pub child_index_done: [u8; 1],
pub c2rust_padding: [u8; 1],
}
Fields§
§state: c_ushort
§production_id: c_ushort
§child_index_done: [u8; 1]
§c2rust_padding: [u8; 1]
Implementations§
source§impl AnalysisSubgraphNode
impl AnalysisSubgraphNode
sourcepub fn set_child_index(&mut self, int: c_uchar)
pub fn set_child_index(&mut self, int: c_uchar)
This method allows you to write to a bitfield with a value
sourcepub fn child_index(&self) -> c_uchar
pub fn child_index(&self) -> c_uchar
This method allows you to read from a bitfield to a value
Trait Implementations§
source§impl Clone for AnalysisSubgraphNode
impl Clone for AnalysisSubgraphNode
source§fn clone(&self) -> AnalysisSubgraphNode
fn clone(&self) -> AnalysisSubgraphNode
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 AnalysisSubgraphNode
Auto Trait Implementations§
impl Freeze for AnalysisSubgraphNode
impl RefUnwindSafe for AnalysisSubgraphNode
impl Send for AnalysisSubgraphNode
impl Sync for AnalysisSubgraphNode
impl Unpin for AnalysisSubgraphNode
impl UnwindSafe for AnalysisSubgraphNode
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