pub struct jboolean(/* private fields */);Implementations§
Source§impl jboolean
impl jboolean
pub const FALSE: Self
pub const TRUE: Self
pub const fn from(value: bool) -> Self
pub const fn from_wide(value: c_uchar) -> Self
pub const fn as_bool(self) -> bool
pub const fn as_wide(self) -> c_uchar
pub const fn narrow(&mut self)
pub const fn is_wide(&self) -> bool
pub const fn transmute_slice(input: &[Self]) -> &[c_uchar] ⓘ
pub const fn transmute_slice_mut(input: &mut [Self]) -> &mut [c_uchar] ⓘ
pub const fn transmute_bool_slice(input: &[bool]) -> &[Self]
pub const fn transmute_wide_slice(input: &[c_uchar]) -> &[Self]
pub const fn transmute_wide_slice_mut(input: &mut [c_uchar]) -> &mut [Self]
pub fn transmute_wide_vec(input: Vec<c_uchar>) -> Vec<Self>
pub fn narrow_vec(input: Vec<Self>) -> Vec<bool>
Trait Implementations§
impl Copy for jboolean
impl Eq for jboolean
impl JBooleanInputLayout for jboolean
Source§impl Ord for jboolean
impl Ord for jboolean
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for jboolean
impl PartialOrd for jboolean
Source§impl PartialOrd<bool> for jboolean
impl PartialOrd<bool> for jboolean
Source§impl PartialOrd<jboolean> for bool
impl PartialOrd<jboolean> for bool
Auto Trait Implementations§
impl Freeze for jboolean
impl RefUnwindSafe for jboolean
impl Send for jboolean
impl Sync for jboolean
impl Unpin for jboolean
impl UnsafeUnpin for jboolean
impl UnwindSafe for jboolean
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more