pub enum SiteType {
F64,
Bool,
U64,
Usize,
I64,
}Expand description
The value type of a sample site: which Model sample variant (and which
ChoiceValue) the site uses.
Variants§
F64
A continuous site (Distribution<f64>); binds Value::F64.
Bool
A boolean site (Distribution<bool>); binds Value::Bool.
U64
A count site (Distribution<u64>); binds Value::U64.
Usize
An index site (Distribution<usize>); binds Value::Usize.
I64
A signed-integer site (Distribution<i64>); binds Value::Int.
Implementations§
Trait Implementations§
impl Copy for SiteType
impl Eq for SiteType
impl StructuralPartialEq for SiteType
Auto Trait Implementations§
impl Freeze for SiteType
impl RefUnwindSafe for SiteType
impl Send for SiteType
impl Sync for SiteType
impl Unpin for SiteType
impl UnsafeUnpin for SiteType
impl UnwindSafe for SiteType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more