pub struct OKeyPair<'a> {
pub name: OType<'a>,
pub data: OType<'a>,
}
Expand description
A wrapper for two OTypes. Used as a frontend for having a name and data.
Fields§
§name: OType<'a>
§data: OType<'a>
Trait Implementations§
impl<'a> StructuralPartialEq for OKeyPair<'a>
Auto Trait Implementations§
impl<'a> Freeze for OKeyPair<'a>
impl<'a> RefUnwindSafe for OKeyPair<'a>
impl<'a> Send for OKeyPair<'a>
impl<'a> Sync for OKeyPair<'a>
impl<'a> Unpin for OKeyPair<'a>
impl<'a> UnwindSafe for OKeyPair<'a>
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