Struct measureme::Addr [−][src]
pub struct Addr(pub u32);
Expand description
An address within a data stream. Each data stream has its own address space,
i.e. the first piece of data written to the events stream will have
Addr(0)
and the first piece of data written to the string data stream
will also have Addr(0)
.
Implementations
Trait Implementations
impl Copy for Addr
[src]
impl Eq for Addr
[src]
impl StructuralEq for Addr
[src]
impl StructuralPartialEq for Addr
[src]
Auto Trait Implementations
impl RefUnwindSafe for Addr
impl Send for Addr
impl Sync for Addr
impl Unpin for Addr
impl UnwindSafe for Addr
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more