pub struct ConverterId(pub String);Expand description
Identifier for a converter edge in the graph.
use daedalus_data::convert::ConverterId;
let id = ConverterId("rgb_to_rgba".into());
assert_eq!(id.0, "rgb_to_rgba");Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ConverterId
impl Clone for ConverterId
Source§fn clone(&self) -> ConverterId
fn clone(&self) -> ConverterId
Returns a duplicate 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 ConverterId
impl Debug for ConverterId
Source§impl<'de> Deserialize<'de> for ConverterId
impl<'de> Deserialize<'de> for ConverterId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ConverterId
impl Hash for ConverterId
Source§impl Ord for ConverterId
impl Ord for ConverterId
Source§fn cmp(&self, other: &ConverterId) -> Ordering
fn cmp(&self, other: &ConverterId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConverterId
impl PartialEq for ConverterId
Source§impl PartialOrd for ConverterId
impl PartialOrd for ConverterId
Source§impl Serialize for ConverterId
impl Serialize for ConverterId
impl Eq for ConverterId
impl StructuralPartialEq for ConverterId
Auto Trait Implementations§
impl Freeze for ConverterId
impl RefUnwindSafe for ConverterId
impl Send for ConverterId
impl Sync for ConverterId
impl Unpin for ConverterId
impl UnwindSafe for ConverterId
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