pub struct BinDecl {
pub name: String,
pub kind: BinKind,
pub array: ArrayKind,
pub wildcard: bool,
pub iff: Option<Expr>,
pub body: BinBody,
}Fields§
§name: String§kind: BinKind§array: ArrayKind§wildcard: bool§iff: Option<Expr>Per-bin iff (sample-time kernel).
body: BinBodyImplementations§
Source§impl BinDecl
impl BinDecl
pub fn kind(self, kind: BinKind) -> BinDecl
pub fn array(self, array: ArrayKind) -> BinDecl
pub fn wildcard(self) -> BinDecl
pub fn iff(self, iff: Expr) -> BinDecl
pub fn with(self, with: Expr) -> BinDecl
Sourcepub fn trans(name: &str, sets: Vec<TransSet>) -> BinDecl
pub fn trans(name: &str, sets: Vec<TransSet>) -> BinDecl
A transition bin bins <name> = (set) , (set) ....
Sourcepub fn default_seq(name: &str) -> BinDecl
pub fn default_seq(name: &str) -> BinDecl
bins <name> = default sequence.
pub fn default_bin(name: &str) -> BinDecl
Trait Implementations§
impl StructuralPartialEq for BinDecl
Auto Trait Implementations§
impl Freeze for BinDecl
impl RefUnwindSafe for BinDecl
impl Send for BinDecl
impl Sync for BinDecl
impl Unpin for BinDecl
impl UnsafeUnpin for BinDecl
impl UnwindSafe for BinDecl
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