StaticPairSerializable::into_elements
docs
This commit is contained in:
parent
8332f89363
commit
c36563fb05
@ -18,6 +18,7 @@ pub trait StaticPairSerializable {
|
|||||||
|
|
||||||
/// Borrow both elements.
|
/// Borrow both elements.
|
||||||
fn elements(&self) -> (&Self::SA, &Self::SB);
|
fn elements(&self) -> (&Self::SA, &Self::SB);
|
||||||
|
/// Separate into elements.
|
||||||
fn into_elements(self) -> (Self::SA, Self::SB);
|
fn into_elements(self) -> (Self::SA, Self::SB);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user