Skip to main content

node

Macro node 

Source
macro_rules! node {
    (
        $(#[$meta:meta])*
        source $name:ident<$T:ident: $crate::math::Transcendental, const $BUF:ident: usize>
        $(where $($bounds:tt)*)?
        { $($tt:tt)* }
    ) => { ... };
    (
        $(#[$meta:meta])*
        processor $name:ident<$T:ident: $crate::math::Transcendental, const $BUF:ident: usize>
        $(where $($bounds:tt)*)?
        { $($tt:tt)* }
    ) => { ... };
    (
        $(#[$meta:meta])*
        sink $name:ident<$T:ident: $crate::math::Transcendental, const $BUF:ident: usize>
        $(where $($bounds:tt)*)?
        { $($tt:tt)* }
    ) => { ... };
}
Expand description

General macro for creating any type of node