pub enum SourceAffinity {
Before,
After,
}Expand description
Which side of an insertion at this exact boundary the endpoint follows.
Variants§
Trait Implementations§
Source§impl Clone for SourceAffinity
impl Clone for SourceAffinity
Source§fn clone(&self) -> SourceAffinity
fn clone(&self) -> SourceAffinity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SourceAffinity
Source§impl Debug for SourceAffinity
impl Debug for SourceAffinity
Source§impl<'de> Deserialize<'de> for SourceAffinity
impl<'de> Deserialize<'de> for SourceAffinity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SourceAffinity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SourceAffinity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SourceAffinity
Source§impl PartialEq for SourceAffinity
impl PartialEq for SourceAffinity
Source§impl Serialize for SourceAffinity
impl Serialize for SourceAffinity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SourceAffinity
Auto Trait Implementations§
impl Freeze for SourceAffinity
impl RefUnwindSafe for SourceAffinity
impl Send for SourceAffinity
impl Sync for SourceAffinity
impl Unpin for SourceAffinity
impl UnsafeUnpin for SourceAffinity
impl UnwindSafe for SourceAffinity
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