pub struct ProcessRef {
pub component: ContentHash,
pub pos: u32,
}Fields§
§component: ContentHash§pos: u32Implementations§
Source§impl ProcessRef
impl ProcessRef
pub fn new(component: ContentHash, pos: u32) -> Self
Trait Implementations§
Source§impl Clone for ProcessRef
impl Clone for ProcessRef
Source§fn clone(&self) -> ProcessRef
fn clone(&self) -> ProcessRef
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 moreSource§impl Debug for ProcessRef
impl Debug for ProcessRef
Source§impl Default for ProcessRef
impl Default for ProcessRef
Source§fn default() -> ProcessRef
fn default() -> ProcessRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProcessRef
impl<'de> Deserialize<'de> for ProcessRef
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
impl Eq for ProcessRef
Source§impl Hash for ProcessRef
impl Hash for ProcessRef
Source§impl Ord for ProcessRef
impl Ord for ProcessRef
Source§fn cmp(&self, other: &ProcessRef) -> Ordering
fn cmp(&self, other: &ProcessRef) -> Ordering
1.21.0 (const: unstable) · 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 ProcessRef
impl PartialEq for ProcessRef
Source§fn eq(&self, other: &ProcessRef) -> bool
fn eq(&self, other: &ProcessRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ProcessRef
impl PartialOrd for ProcessRef
Source§impl Serialize for ProcessRef
impl Serialize for ProcessRef
impl StructuralPartialEq for ProcessRef
Auto Trait Implementations§
impl Freeze for ProcessRef
impl RefUnwindSafe for ProcessRef
impl Send for ProcessRef
impl Sync for ProcessRef
impl Unpin for ProcessRef
impl UnsafeUnpin for ProcessRef
impl UnwindSafe for ProcessRef
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