pub unsafe extern "C" fn rb_struct_aref(st: VALUE, k: VALUE) -> VALUEExpand description
Resembles Struct#[].
ยง@param[in] st An instance of RStruct.
@param[in] k Index a.k.a. key of the struct.
@exception rb_eTypeError k is neither Numeric, Symbol, nor String.
@exception rb_eIndexError Numerical index out of range.
@exception rb_eNameError No such key.
@return The member stored at k in st.
@pre st must be of ::RUBY_T_STRUCT.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.3.8