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
//! Types and traits that are commonly used within this library. //! //! This module is intended to be glob imported via `use rosy::prelude::*` when //! primarily working with Rosy types. This allows for having access to _almost_ //! everything one may need. //! //! **Note:** These items are all already available at the top crate level. If //! only certain items are required, importing from the prelude directly is //! unnecessary. //! //! **Important:** Rosy's [`String`][rb] type **will conflict** with Rust's //! built-in [`String`][rs] type when imported as-is into the same module. //! //! [rb]: string/struct.String.html //! [rs]: https://doc.rust-lang.org/std/string/struct.String.html // This should match the import in `lib.rs` verbatim (literally copy + paste) #[doc(no_inline)] pub use crate::{ array::Array, exception::{AnyException, Exception}, hash::Hash, mixin::{Mixin, Class, Module}, num::{Float, Integer}, object::{AnyObject, Object, RosyObject}, range::Range, Result, rosy::Rosy, string::String, symbol::{Symbol, SymbolId}, };