pub struct DistCall {
pub name: String,
pub args: Vec<Expr>,
}Expand description
A distribution constructor call: a registered distribution’s name and its
argument expressions (Normal(mu, 1.0)).
Fields§
§name: StringThe registered distribution name.
args: Vec<Expr>The constructor’s arguments.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DistCall
impl<'de> Deserialize<'de> for DistCall
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for DistCall
Auto Trait Implementations§
impl Freeze for DistCall
impl RefUnwindSafe for DistCall
impl Send for DistCall
impl Sync for DistCall
impl Unpin for DistCall
impl UnsafeUnpin for DistCall
impl UnwindSafe for DistCall
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