borrow 2.0.0

Zero-overhead, safe implementation of partial borrows. This crate allows you to borrow selected fields from a struct and split structs into non-overlapping sets of borrowed fields.
Documentation
#![cfg(not(usage_tracking_enabled))]

use borrow::Label;

#[derive(Copy, Debug)]
#[repr(transparent)]
pub struct UsageTracker;

impl UsageTracker {
    #[inline(always)]
    pub fn new() -> Self {
        UsageTracker
    }
}

impl Clone for UsageTracker {
    #[inline(always)]
    fn clone(&self) -> Self {
        *self
    }
}