Enum ext_php_rs::describe::abi::Option
source · #[repr(C, u8)]pub enum Option<T> {
Some(T),
None,
}
Expand description
An ABI-stable Option
.
Variants§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Option<T>where
T: RefUnwindSafe,
impl<T> Send for Option<T>where
T: Send,
impl<T> Sync for Option<T>where
T: Sync,
impl<T> Unpin for Option<T>where
T: Unpin,
impl<T> UnwindSafe for Option<T>where
T: UnwindSafe,
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