pub fn empty() -> Self {
        // It's safe in this situation for us to put an `Entry` object in global
        // storage, despite it not actually being safe to send across threads
        // (`Term` is a reference into a thread-local table). This is because
        // this entry never includes a `Term` object.
        //
        // This wrapper struct allows us to break the rules and put a `Sync`
        // object in global storage.
        struct UnsafeSyncEntry(Entry);
        unsafe impl Sync for UnsafeSyncEntry {}
        static EMPTY_ENTRY: UnsafeSyncEntry =
            UnsafeSyncEntry(Entry::End(0 as *const Entry));

        Cursor {
            ptr: &EMPTY_ENTRY.0,
            scope: &EMPTY_ENTRY.0,
            marker: PhantomData,
        }
    }
/// Create a cursor referencing a static empty TokenStream.
Create a cursor referencing a static empty TokenStream.
Create a cursor referencing a static empty TokenStream .
pub fn empty() -> Self {
        // It's safe in this situation for us to put an `Entry` object in global
        // storage, despite it not actually being safe to send across threads
        // (`Term` is a reference into a thread-local table). This is because
        // this entry never includes a `Term` object.
        //
        // This wrapper struct allows us to break the rules and put a `Sync`
        // object in global storage.
        struct UnsafeSyncEntry(Entry);
        unsafe impl Sync for UnsafeSyncEntry {}
        static EMPTY_ENTRY: UnsafeSyncEntry =
            UnsafeSyncEntry(Entry::End(0 as *const Entry));
        Cursor {
            ptr: &EMPTY_ENTRY.0,
            scope: &EMPTY_ENTRY.0,
            marker: PhantomData,
        }
    }
pub fn empty ( ) -> Self { // It's safe in this situation for us to put an `Entry` object in global // storage, despite it not actually being safe to send across threads // (`Term` is a reference into a thread-local table). This is because // this entry never includes a `Term` object. // // This wrapper struct allows us to break the rules and put a `Sync` // object in global storage. struct UnsafeSyncEntry ( Entry ) ; unsafe impl Sync for UnsafeSyncEntry { } static EMPTY_ENTRY : UnsafeSyncEntry = UnsafeSyncEntry ( Entry :: End ( 0 as * const Entry ) ) ; Cursor { ptr : & EMPTY_ENTRY . 0 , scope : & EMPTY_ENTRY . 0 , marker : PhantomData , } }
Create a cursor referencing a static empty TokenStream.
Create a cursor referencing a static empty TokenStream .