#[repr(C)]
pub struct txr_cxt_t {
pub enable: c_int,
pub filter: c_int,
pub mipmap: c_int,
pub mipmap_bias: c_int,
pub uv_flip: c_int,
pub uv_clamp: c_int,
pub alpha: c_int,
pub env: c_int,
pub width: c_int,
pub height: c_int,
pub base: pvr_ptr_t,
}
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.