[][src]Struct mruby_sys::mrb_parser_heredoc_info

#[repr(C)]
pub struct mrb_parser_heredoc_info {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub type_: mrb_string_type,
    pub term: *const c_char,
    pub term_len: c_int,
    pub doc: *mut mrb_ast_node,
}

Fields

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>type_: mrb_string_typeterm: *const c_charterm_len: c_intdoc: *mut mrb_ast_node

Methods

impl mrb_parser_heredoc_info[src]

pub fn allow_indent(&self) -> mrb_bool[src]

pub fn set_allow_indent(&mut self, val: mrb_bool)[src]

pub fn line_head(&self) -> mrb_bool[src]

pub fn set_line_head(&mut self, val: mrb_bool)[src]

pub fn new_bitfield_1(
    allow_indent: mrb_bool,
    line_head: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for mrb_parser_heredoc_info[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for mrb_parser_heredoc_info[src]

impl Debug for mrb_parser_heredoc_info[src]

Auto Trait Implementations

impl !Send for mrb_parser_heredoc_info

impl Unpin for mrb_parser_heredoc_info

impl !Sync for mrb_parser_heredoc_info

impl UnwindSafe for mrb_parser_heredoc_info

impl RefUnwindSafe for mrb_parser_heredoc_info

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]