pub struct ComponentInterfaceId { /* private fields */ }Expand description
Structured compile-time component interface identity (package:interface/vN).
Implementations§
Source§impl ComponentInterfaceId
impl ComponentInterfaceId
pub fn get_id(&self) -> &String
pub fn get_mut_id(&mut self) -> &mut String
pub fn set_id(&mut self, val: String) -> &mut Self
pub fn get_version(&self) -> u32
pub fn get_mut_version(&mut self) -> &mut u32
pub fn set_version(&mut self, val: u32) -> &mut Self
Trait Implementations§
Source§impl Clone for ComponentInterfaceId
impl Clone for ComponentInterfaceId
Source§impl Debug for ComponentInterfaceId
impl Debug for ComponentInterfaceId
Source§impl Default for ComponentInterfaceId
impl Default for ComponentInterfaceId
Source§impl<'de> Deserialize<'de> for ComponentInterfaceId
impl<'de> Deserialize<'de> for ComponentInterfaceId
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 ComponentInterfaceId
Source§impl Hash for ComponentInterfaceId
impl Hash for ComponentInterfaceId
Source§impl Ord for ComponentInterfaceId
impl Ord for ComponentInterfaceId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ComponentInterfaceId
impl PartialEq for ComponentInterfaceId
Source§impl PartialOrd for ComponentInterfaceId
impl PartialOrd for ComponentInterfaceId
Source§impl Serialize for ComponentInterfaceId
impl Serialize for ComponentInterfaceId
impl StructuralPartialEq for ComponentInterfaceId
Auto Trait Implementations§
impl Forget for ComponentInterfaceId
impl Freeze for ComponentInterfaceId
impl Move for ComponentInterfaceId
impl RefUnwindSafe for ComponentInterfaceId
impl Send for ComponentInterfaceIdwhere
RawVecInner: Send,
impl Sync for ComponentInterfaceIdwhere
RawVecInner: Sync,
impl Unpin for ComponentInterfaceId
impl UnsafeUnpin for ComponentInterfaceId
impl UnwindSafe for ComponentInterfaceIdwhere
RawVecInner: UnwindSafe,
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