Struct artichoke_backend::sys::mrb_parser_heredoc_info
source · [−]#[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 _bitfield_align_2: [u8; 0],
pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1]>,
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
_bitfield_align_2: [u8; 0]
_bitfield_2: __BindgenBitfieldUnit<[u8; 1]>
type_: mrb_string_type
term: *const c_char
term_len: c_int
doc: *mut mrb_ast_node
Implementations
sourceimpl 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 new_bitfield_1(
allow_indent: mrb_bool,
remove_indent: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1]>
pub fn line_head(&self) -> mrb_bool
pub fn set_line_head(&mut self, val: mrb_bool)
pub fn new_bitfield_2(line_head: mrb_bool) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations
sourceimpl Clone for mrb_parser_heredoc_info
impl Clone for mrb_parser_heredoc_info
sourcefn clone(&self) -> mrb_parser_heredoc_info
fn clone(&self) -> mrb_parser_heredoc_info
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for mrb_parser_heredoc_info
impl Debug for mrb_parser_heredoc_info
impl Copy for mrb_parser_heredoc_info
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more