pub fn is_black<T>(gc: *mut T) -> bool {
        assert_eq!(*COLLECTOR_PHASE.lock(), CollectorPhase::Ready);

        let block = Block::new(gc as *mut u8);
        block.colour() == Colour::Black
    }
/// Returns true if the object was marked as reachable in the last collection.
///
/// It can be misleading to check for the inverse of this function
/// (`!is_black(..)`). It shouldn't be relied upon for testing, as
/// conservative collectors tend to over-approximate and there are
/// non-deterministic reasons that an unreachable object might still survive
/// a collection: mis-identified integer, floating garbage in the red-zone,
/// stale pointers in registers etc.
Returns true if the object was marked as reachable in the last collection.
It can be misleading to check for the inverse of this function
(`!is_black(..)`). It shouldn't be relied upon for testing, as
conservative collectors tend to over-approximate and there are
non-deterministic reasons that an unreachable object might still survive
a collection: mis-identified integer, floating garbage in the red-zone,
stale pointers in registers etc.
Returns true if the object was marked as reachable in the last collection . It can be misleading to check for the inverse of this function ( ` !is_black ( .. ) ` ) . It shouldn ' t be relied upon for testing as conservative collectors tend to over - approximate and there are non - deterministic reasons that an unreachable object might still survive a collection : mis - identified integer floating garbage in the red - zone stale pointers in registers etc .
pub fn is_black<T>(gc: *mut T) -> bool {
        assert_eq!(*COLLECTOR_PHASE.lock(), CollectorPhase::Ready);
        let block = Block::new(gc as *mut u8);
        block.colour() == Colour::Black
    }
pub fn is_black < T > ( gc : * mut T ) -> bool { assert_eq ! ( COLLECTOR_PHASE lock ( ) CollectorPhase Ready ) ; let block = Block :: new ( gc as * mut u8 ) ; block . colour ( ) == Colour :: Black }
Returns true if the object was marked as reachable in the last collection.
Returns true if the object was marked as reachable in the last collection .
gc
*mut T