pub struct SourceTargetV1 { /* private fields */ }Expand description
Stable target identity retained beside one channel/property declaration.
Implementations§
Source§impl SourceTargetV1
impl SourceTargetV1
Sourcepub const fn new(kind: SourceTargetKindV1, index: u64) -> Self
pub const fn new(kind: SourceTargetKindV1, index: u64) -> Self
Construct a stable source target identity.
Sourcepub const fn kind(self) -> SourceTargetKindV1
pub const fn kind(self) -> SourceTargetKindV1
Target identity kind.
Trait Implementations§
Source§impl Clone for SourceTargetV1
impl Clone for SourceTargetV1
Source§fn clone(&self) -> SourceTargetV1
fn clone(&self) -> SourceTargetV1
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 SourceTargetV1
Source§impl Debug for SourceTargetV1
impl Debug for SourceTargetV1
impl Eq for SourceTargetV1
Source§impl Ord for SourceTargetV1
impl Ord for SourceTargetV1
Source§fn cmp(&self, other: &SourceTargetV1) -> Ordering
fn cmp(&self, other: &SourceTargetV1) -> 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 SourceTargetV1
impl PartialEq for SourceTargetV1
Source§impl PartialOrd for SourceTargetV1
impl PartialOrd for SourceTargetV1
impl StructuralPartialEq for SourceTargetV1
Auto Trait Implementations§
impl Freeze for SourceTargetV1
impl RefUnwindSafe for SourceTargetV1
impl Send for SourceTargetV1
impl Sync for SourceTargetV1
impl Unpin for SourceTargetV1
impl UnsafeUnpin for SourceTargetV1
impl UnwindSafe for SourceTargetV1
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