#[repr(C)]
pub struct gen_poly_cxt_t {
pub alpha: c_int,
pub shading: c_int,
pub fog_type: c_int,
pub culling: c_int,
pub color_clamp: c_int,
pub clip_mode: c_int,
pub modifier_mode: c_int,
pub specular: c_int,
pub alpha2: c_int,
pub fog_type2: c_int,
pub color_clamp2: c_int,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.