fn is_shared(&self) -> bool {
        // For safety, we do this 100 times before we ever return false. This is
        // to make extra sure that we don't end up treating this as unreferenced
        // just because another thread didn't get a chance to add a reference
        // quickly enough.
        for _ in 0..100 {
            if self.references.load(SeqCst) > 1 {
                return true;
            }
        }
        false
    }
/// Returns true if there is currently more than one valid reference to the
/// region.
Returns true if there is currently more than one valid reference to the
region.
Returns true if there is currently more than one valid reference to the region .
fn is_shared(&self) -> bool {
        // For safety, we do this 100 times before we ever return false. This is
        // to make extra sure that we don't end up treating this as unreferenced
        // just because another thread didn't get a chance to add a reference
        // quickly enough.
        for _ in 0..100 {
            if self.references.load(SeqCst) > 1 {
                return true;
            }
        }
        false
    }
fn is_shared ( & self ) -> bool { // For safety, we do this 100 times before we ever return false. This is // to make extra sure that we don't end up treating this as unreferenced // just because another thread didn't get a chance to add a reference // quickly enough. for _ in 0 .. 100 { if self . references . load ( SeqCst ) > 1 { return true ; } } false }
Returns true if there is currently more than one valid reference to the
region.
Returns true if there is currently more than one valid reference to the region .
&self