#[repr(transparent)]pub struct RESULT(pub c_uint);Expand description
Rust でいうところの Result<(), ()> のような,汎用的な成功したかどうかだけの返り値用 enum
Note: uint8_t を想定
Tuple Fields§
§0: c_uintTrait Implementations§
Source§impl BitAndAssign for RESULT
impl BitAndAssign for RESULT
Source§fn bitand_assign(&mut self, rhs: RESULT)
fn bitand_assign(&mut self, rhs: RESULT)
Performs the
&= operation. Read moreSource§impl BitOrAssign for RESULT
impl BitOrAssign for RESULT
Source§fn bitor_assign(&mut self, rhs: RESULT)
fn bitor_assign(&mut self, rhs: RESULT)
Performs the
|= operation. Read moreimpl Copy for RESULT
impl Eq for RESULT
impl StructuralPartialEq for RESULT
Auto Trait Implementations§
impl Freeze for RESULT
impl RefUnwindSafe for RESULT
impl Send for RESULT
impl Sync for RESULT
impl Unpin for RESULT
impl UnwindSafe for RESULT
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