pub struct ForeignElement<F1, F2> {
pub value: F1,
/* private fields */
}Expand description
Element of F1 represented as 2 elements of F2
Fields§
§value: F1Trait Implementations§
Source§impl<F1, F2> From<F1> for ForeignElement<F1, F2>
impl<F1, F2> From<F1> for ForeignElement<F1, F2>
Auto Trait Implementations§
impl<F1, F2> Freeze for ForeignElement<F1, F2>where
F1: Freeze,
impl<F1, F2> RefUnwindSafe for ForeignElement<F1, F2>where
F1: RefUnwindSafe,
F2: RefUnwindSafe,
impl<F1, F2> Send for ForeignElement<F1, F2>
impl<F1, F2> Sync for ForeignElement<F1, F2>
impl<F1, F2> Unpin for ForeignElement<F1, F2>
impl<F1, F2> UnsafeUnpin for ForeignElement<F1, F2>where
F1: UnsafeUnpin,
impl<F1, F2> UnwindSafe for ForeignElement<F1, F2>where
F1: UnwindSafe,
F2: 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