pub struct Ty {
pub held: Held,
pub dual: bool,
pub width: u8,
pub codomain: Codomain,
pub rate: Option<u32>,
}Expand description
dual: the closed form on the other axis is in A too. Never set on samples or frames.
Fields§
§held: Held§dual: bool§width: u8§codomain: Codomain§rate: Option<u32>Implementations§
Source§impl Ty
impl Ty
pub const fn form(var: Var, dual: bool, codomain: Codomain) -> Ty
pub const fn discrete(held: Held, codomain: Codomain) -> Ty
pub fn is_closed_form(self) -> bool
pub fn has_dual(self) -> bool
Trait Implementations§
impl Copy for Ty
impl Eq for Ty
impl StructuralPartialEq for Ty
Auto Trait Implementations§
impl Freeze for Ty
impl RefUnwindSafe for Ty
impl Send for Ty
impl Sync for Ty
impl Unpin for Ty
impl UnsafeUnpin for Ty
impl UnwindSafe for Ty
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