Struct dialogical::LinkKVPair
source · pub struct LinkKVPair(/* private fields */);Implementations§
source§impl LinkKVPair
impl LinkKVPair
sourcepub fn from_words<'a, I>(split: &mut I) -> Result<Self, ScriptError>where
I: Iterator<Item = &'a str>,
pub fn from_words<'a, I>(split: &mut I) -> Result<Self, ScriptError>where I: Iterator<Item = &'a str>,
consume one line of split up words
pub fn from_tuple(pair: (&str, &str)) -> Self
pub fn from_slices(property: &str, target: &str) -> Self
Trait Implementations§
source§impl Clone for LinkKVPair
impl Clone for LinkKVPair
source§fn clone(&self) -> LinkKVPair
fn clone(&self) -> LinkKVPair
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LinkKVPair
impl Debug for LinkKVPair
source§impl Deref for LinkKVPair
impl Deref for LinkKVPair
source§impl PartialEq for LinkKVPair
impl PartialEq for LinkKVPair
source§fn eq(&self, other: &LinkKVPair) -> bool
fn eq(&self, other: &LinkKVPair) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LinkKVPair
Auto Trait Implementations§
impl RefUnwindSafe for LinkKVPair
impl Send for LinkKVPair
impl Sync for LinkKVPair
impl Unpin for LinkKVPair
impl UnwindSafe for LinkKVPair
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