Sha256: 152f6d65ce4741616a1dec796b9442f78a018d38bb040f76c4cd85008333a3bb

Contents?: true

Size: 886 Bytes

Versions: 76

Compression:

Stored size: 886 Bytes

Contents

//! The public parts of this private module are used to create traits
//! that cannot be implemented outside of our own crate.  This way we
//! can feel free to extend those traits without worrying about it
//! being a breaking change for other implementations.

/// If this type is pub but not publicly reachable, third parties
/// can't name it and can't implement traits using it.
#[allow(missing_debug_implementations)]
pub struct PrivateMarker;

macro_rules! private_decl {
    () => {
        /// This trait is private; this method exists to make it
        /// impossible to implement outside the crate.
        #[doc(hidden)]
        fn __rayon_private__(&self) -> crate::private::PrivateMarker;
    };
}

macro_rules! private_impl {
    () => {
        fn __rayon_private__(&self) -> crate::private::PrivateMarker {
            crate::private::PrivateMarker
        }
    };
}

Version data entries

76 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/rayon-core-1.12.1/src/private.rs
wasmtime-29.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/private.rs
wasmtime-28.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/private.rs
wasmtime-28.0.0 ./ext/cargo-vendor/rayon-core-1.12.1/src/private.rs
wasmtime-27.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/private.rs
wasmtime-27.0.0 ./ext/cargo-vendor/rayon-core-1.12.1/src/private.rs
wasmtime-26.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/private.rs
wasmtime-26.0.0 ./ext/cargo-vendor/rayon-core-1.12.1/src/private.rs
wasmtime-25.0.2 ./ext/cargo-vendor/rayon-core-1.12.1/src/private.rs
wasmtime-25.0.2 ./ext/cargo-vendor/rayon-1.10.0/src/private.rs
wasmtime-25.0.1 ./ext/cargo-vendor/rayon-core-1.12.1/src/private.rs
wasmtime-25.0.1 ./ext/cargo-vendor/rayon-1.10.0/src/private.rs
wasmtime-25.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/private.rs
wasmtime-25.0.0 ./ext/cargo-vendor/rayon-core-1.12.1/src/private.rs
wasmtime-24.0.0 ./ext/cargo-vendor/rayon-1.10.0/src/private.rs
wasmtime-24.0.0 ./ext/cargo-vendor/rayon-core-1.12.1/src/private.rs
wasmtime-23.0.2 ./ext/cargo-vendor/rayon-1.8.0/src/private.rs
wasmtime-23.0.2 ./ext/cargo-vendor/rayon-core-1.12.0/src/private.rs
wasmtime-22.0.0 ./ext/cargo-vendor/rayon-core-1.12.0/src/private.rs
wasmtime-22.0.0 ./ext/cargo-vendor/rayon-1.8.0/src/private.rs