Docs.rs
soliterm-model-0.1.0
soliterm-model 0.1.0
Permalink
Docs.rs crate page
GPL-3.0-or-later
Links
Homepage
Repository
crates.io
Source
Owners
chrisbouchard
Dependencies
derive_more ^0.99.17
normal
enum-map ^2.4.1
normal
itertools ^0.10.3
normal
permutations ^0.1.1
normal
rand ^0.8.5
normal
seq-macro ^0.3.1
normal
velcro ^0.5.3
normal
assert2 ^0.3.6
dev
mockall ^0.11.2
dev
rstest ^0.15.0
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Pile
Required Methods
cards
is_empty
len
Implementors
In soliterm_model::piles
?
Trait
soliterm_model
::
piles
::
Pile
source
·
[
−
]
pub trait Pile { fn
cards
(&self) -> &[
Card
];
fn
len
(&self) ->
usize
;
fn
is_empty
(&self) ->
bool
; }
Required Methods
source
fn
cards
(&self) -> &[
Card
]
source
fn
len
(&self) ->
usize
source
fn
is_empty
(&self) ->
bool
Implementors
source
impl
Pile
for
Cards
source
impl
Pile
for
Split
source
impl<'a>
Pile
for
Segment
<'a>
source
impl<'a>
Pile
for
SegmentMut
<'a>