#[repr(C)]pub struct mrb_parser_heredoc_info {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub indent: usize,
pub indented: *mut mrb_ast_node,
pub type_: mrb_string_type,
pub term: *const c_char,
pub term_len: c_int,
pub doc: *mut mrb_ast_node,
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§indent: usize
§indented: *mut mrb_ast_node
§type_: mrb_string_type
§term: *const c_char
§term_len: c_int
§doc: *mut mrb_ast_node
Implementations§
Source§impl mrb_parser_heredoc_info
impl mrb_parser_heredoc_info
pub fn allow_indent(&self) -> mrb_bool
pub fn set_allow_indent(&mut self, val: mrb_bool)
pub fn remove_indent(&self) -> mrb_bool
pub fn set_remove_indent(&mut self, val: mrb_bool)
pub fn line_head(&self) -> mrb_bool
pub fn set_line_head(&mut self, val: mrb_bool)
pub fn new_bitfield_1( allow_indent: mrb_bool, remove_indent: mrb_bool, line_head: mrb_bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for mrb_parser_heredoc_info
impl Clone for mrb_parser_heredoc_info
Source§fn clone(&self) -> mrb_parser_heredoc_info
fn clone(&self) -> mrb_parser_heredoc_info
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 moreSource§impl Debug for mrb_parser_heredoc_info
impl Debug for mrb_parser_heredoc_info
impl Copy for mrb_parser_heredoc_info
Auto Trait Implementations§
impl Freeze for mrb_parser_heredoc_info
impl RefUnwindSafe for mrb_parser_heredoc_info
impl !Send for mrb_parser_heredoc_info
impl !Sync for mrb_parser_heredoc_info
impl Unpin for mrb_parser_heredoc_info
impl UnwindSafe for mrb_parser_heredoc_info
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