Debian Codegraph @

src/alias.rs

raw symbols SCIP
1 use craterust-analyzer cargo ringbuf 0.3.3 crate/::{Consumerrust-analyzer cargo ringbuf 0.3.3 consumer/Consumer#, Producerrust-analyzer cargo ringbuf 0.3.3 producer/Producer#, SharedRbrust-analyzer cargo ringbuf 0.3.3 ring_buffer/shared/SharedRb#};
2 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#;
3
4 #[cfg(feature = "alloc")]
5 use allocrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc crate/::{syncrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc sync/::Arcrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc sync/Arc#, vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/::Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#};
6
7 /// Stack-allocated ring buffer with static capacity.
8 ///
9 /// *Capacity (`N`) must be greater that zero.*
10 pub type StaticRbrust-analyzer cargo ringbuf 0.3.3 alias/StaticRb#<T, const N: usize> = SharedRbrust-analyzer cargo ringbuf 0.3.3 ring_buffer/shared/SharedRb#<T, [MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<T>; N]>;
11 /// Alias for [`StaticRb`] [`Producer`].
12 pub type StaticProducerrust-analyzer cargo ringbuf 0.3.3 alias/StaticProducer#<'a, T, const N: usize> = Producerrust-analyzer cargo ringbuf 0.3.3 producer/Producer#<T, &'a StaticRbrust-analyzer cargo ringbuf 0.3.3 alias/StaticRb#<T, N>>;
13 /// Alias for [`StaticRb`] [`Consumer`].
14 pub type StaticConsumerrust-analyzer cargo ringbuf 0.3.3 alias/StaticConsumer#<'a, T, const N: usize> = Consumerrust-analyzer cargo ringbuf 0.3.3 consumer/Consumer#<T, &'a StaticRbrust-analyzer cargo ringbuf 0.3.3 alias/StaticRb#<T, N>>;
15
16 /// Heap-allocated ring buffer.
17 #[cfg(feature = "alloc")]
18 pub type HeapRbrust-analyzer cargo ringbuf 0.3.3 alias/HeapRb#<T> = SharedRbrust-analyzer cargo ringbuf 0.3.3 ring_buffer/shared/SharedRb#<T, Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#<T>>>;
19 /// Alias for [`HeapRb`] [`Producer`].
20 #[cfg(feature = "alloc")]
21 pub type HeapProducerrust-analyzer cargo ringbuf 0.3.3 alias/HeapProducer#<T> = Producerrust-analyzer cargo ringbuf 0.3.3 producer/Producer#<T, Arcrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc sync/Arc#<HeapRbrust-analyzer cargo ringbuf 0.3.3 alias/HeapRb#<T>>>;
22 /// Alias for [`HeapRb`] [`Consumer`].
23 #[cfg(feature = "alloc")]
24 pub type HeapConsumerrust-analyzer cargo ringbuf 0.3.3 alias/HeapConsumer#<T> = Consumerrust-analyzer cargo ringbuf 0.3.3 consumer/Consumer#<T, Arcrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc sync/Arc#<HeapRbrust-analyzer cargo ringbuf 0.3.3 alias/HeapRb#<T>>>;