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
//! The anchor types for [`xwt_core`].
//!
//! Intended to be useful in overcoming the restriction on the implementations
//! for foreign types.
//!
//! That is - if you want to implement something for [`xwt_core`] but can't -
//! implement it concretely for an `xwt_anchor` type and switch to using
//! `xwt_anchor`-wrapped types instead of raw `xwt_core` traits where
//! applicable.
//!
//! This implementation is experimental, and we'll see on whether we'll keep
//! maintaining it.
pub use *;
pub use xwt_core as core;
/// Commonly used types and traits.
///
/// # Usage
///
/// ```
/// use xwt_anchor::prelude::*;
/// ```
///
/// Note that `use xwt_anchor::prelude::*;` is different from
/// `use xwt_anchor::prelude::{a, c, c};` in that exported but unnamable items
/// can't be imported by enumrating them, while `::*` *will* load them
/// into scope.