pub struct StreamIdentity(/* private fields */);Expand description
Stable, non-owning identity for an SCStream.
This is the address of the underlying native stream, stored as an opaque
value. It does not keep the stream alive and must never be dereferenced.
Compare it with SCStream::identity while the stream is still live.
Implementations§
Trait Implementations§
Source§impl Clone for StreamIdentity
impl Clone for StreamIdentity
Source§fn clone(&self) -> StreamIdentity
fn clone(&self) -> StreamIdentity
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 StreamIdentity
Source§impl Debug for StreamIdentity
impl Debug for StreamIdentity
impl Eq for StreamIdentity
Source§impl Hash for StreamIdentity
impl Hash for StreamIdentity
Source§impl PartialEq for StreamIdentity
impl PartialEq for StreamIdentity
Source§fn eq(&self, other: &StreamIdentity) -> bool
fn eq(&self, other: &StreamIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamIdentity
Auto Trait Implementations§
impl Freeze for StreamIdentity
impl RefUnwindSafe for StreamIdentity
impl Send for StreamIdentity
impl Sync for StreamIdentity
impl Unpin for StreamIdentity
impl UnsafeUnpin for StreamIdentity
impl UnwindSafe for StreamIdentity
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