Struct tree_sitter_c2rust::core::SubtreeInlineData
source · #[repr(C)]pub struct SubtreeInlineData {
pub is_inline_visible_named_extra_has_changes_is_missing_is_keyword: [u8; 1],
pub symbol: c_uchar,
pub parse_state: c_ushort,
pub padding_columns: c_uchar,
pub padding_rows_lookahead_bytes: [u8; 1],
pub padding_bytes: c_uchar,
pub size_bytes: c_uchar,
}
Fields§
§is_inline_visible_named_extra_has_changes_is_missing_is_keyword: [u8; 1]
§symbol: c_uchar
§parse_state: c_ushort
§padding_columns: c_uchar
§padding_rows_lookahead_bytes: [u8; 1]
§padding_bytes: c_uchar
§size_bytes: c_uchar
Implementations§
source§impl SubtreeInlineData
impl SubtreeInlineData
sourcepub fn set_is_inline(&mut self, int: bool)
pub fn set_is_inline(&mut self, int: bool)
This method allows you to write to a bitfield with a value
sourcepub fn set_visible(&mut self, int: bool)
pub fn set_visible(&mut self, int: bool)
This method allows you to write to a bitfield with a value
sourcepub fn set_named(&mut self, int: bool)
pub fn set_named(&mut self, int: bool)
This method allows you to write to a bitfield with a value
sourcepub fn set_extra(&mut self, int: bool)
pub fn set_extra(&mut self, int: bool)
This method allows you to write to a bitfield with a value
sourcepub fn set_has_changes(&mut self, int: bool)
pub fn set_has_changes(&mut self, int: bool)
This method allows you to write to a bitfield with a value
sourcepub fn has_changes(&self) -> bool
pub fn has_changes(&self) -> bool
This method allows you to read from a bitfield to a value
sourcepub fn set_is_missing(&mut self, int: bool)
pub fn set_is_missing(&mut self, int: bool)
This method allows you to write to a bitfield with a value
sourcepub fn is_missing(&self) -> bool
pub fn is_missing(&self) -> bool
This method allows you to read from a bitfield to a value
sourcepub fn set_is_keyword(&mut self, int: bool)
pub fn set_is_keyword(&mut self, int: bool)
This method allows you to write to a bitfield with a value
sourcepub fn is_keyword(&self) -> bool
pub fn is_keyword(&self) -> bool
This method allows you to read from a bitfield to a value
sourcepub fn set_padding_rows(&mut self, int: c_uchar)
pub fn set_padding_rows(&mut self, int: c_uchar)
This method allows you to write to a bitfield with a value
sourcepub fn padding_rows(&self) -> c_uchar
pub fn padding_rows(&self) -> c_uchar
This method allows you to read from a bitfield to a value
sourcepub fn set_lookahead_bytes(&mut self, int: c_uchar)
pub fn set_lookahead_bytes(&mut self, int: c_uchar)
This method allows you to write to a bitfield with a value
sourcepub fn lookahead_bytes(&self) -> c_uchar
pub fn lookahead_bytes(&self) -> c_uchar
This method allows you to read from a bitfield to a value
Trait Implementations§
source§impl Clone for SubtreeInlineData
impl Clone for SubtreeInlineData
source§fn clone(&self) -> SubtreeInlineData
fn clone(&self) -> SubtreeInlineData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreimpl Copy for SubtreeInlineData
Auto Trait Implementations§
impl Freeze for SubtreeInlineData
impl RefUnwindSafe for SubtreeInlineData
impl Send for SubtreeInlineData
impl Sync for SubtreeInlineData
impl Unpin for SubtreeInlineData
impl UnwindSafe for SubtreeInlineData
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)