1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
pub mod integers; pub mod io_fmt; #[repr(align(32))] #[cfg(target_pointer_width = "64")] pub struct Aligned256<T>(pub T); #[cfg(not(target_pointer_width = "64"))] pub struct Aligned256<T>(pub T); #[cfg(feature = "big-num-32")] pub mod big_num_32; #[cfg(feature = "display-fn")] pub mod display_fn; #[cfg(feature = "bytes-buf")] mod bytes; #[cfg(feature = "fixed")] mod fixed; #[cfg(feature = "markup")] mod markup; #[cfg(feature = "json")] mod ser_json; #[cfg(feature = "bytes-buf")] pub use self::bytes::{RenderBytes, RenderBytesA, RenderBytesSafe, RenderBytesSafeA}; #[cfg(feature = "fixed")] pub use self::fixed::{RenderFixed, RenderFixedA, RenderSafe, RenderSafeA}; #[cfg(feature = "markup")] pub use self::markup::{Render, RenderA}; #[cfg(feature = "ryu-ad")] pub mod ryu; #[cfg(feature = "json")] pub mod json { pub use super::ser_json::{ begin_array, end_array, end_array_object, end_object, end_object_object, to_bytes, to_bytes_mut, write_comma, Serialize, }; } pub trait IntoCopyIterator: IntoIterator { fn __into_citer(self) -> <Self as IntoIterator>::IntoIter; } impl<I: IntoIterator + Sized> IntoCopyIterator for I { #[inline] fn __into_citer(self) -> <Self as IntoIterator>::IntoIter { self.into_iter() } }