pub struct CandidatePair {
pub local: CandidateOwned,
pub remote: CandidateOwned,
}Expand description
Paired local and remote candidate
Fields§
§local: CandidateOwnedThe local Candidate
remote: CandidateOwnedThe remote Candidate
Implementations§
Source§impl CandidatePair
impl CandidatePair
Sourcepub fn new(local: CandidateOwned, remote: CandidateOwned) -> Self
pub fn new(local: CandidateOwned, remote: CandidateOwned) -> Self
Create a new CandidatePair
Trait Implementations§
Source§impl Clone for CandidatePair
impl Clone for CandidatePair
Source§fn clone(&self) -> CandidatePair
fn clone(&self) -> CandidatePair
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CandidatePair
impl Debug for CandidatePair
Source§impl PartialEq for CandidatePair
impl PartialEq for CandidatePair
impl Eq for CandidatePair
impl StructuralPartialEq for CandidatePair
Auto Trait Implementations§
impl Freeze for CandidatePair
impl RefUnwindSafe for CandidatePair
impl Send for CandidatePair
impl Sync for CandidatePair
impl Unpin for CandidatePair
impl UnwindSafe for CandidatePair
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)