Docs.rs
tract-pulse-0.18.4
tract-pulse 0.18.4
Docs.rs crate page
MIT
/
Apache-2.0
Links
Repository
crates.io
Source
Owners
kali
Dependencies
downcast-rs ^1.2.0
normal
lazy_static ^1.4.0
normal
tract-pulse-opl =0.18.4
normal
Versions
6.9%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
PulsedModel
Trait Implementations
PulsedModelExt
SpecialOps<PulsedFact, Box<dyn PulsedOp + 'static, Global>>
In tract_pulse::model
?
Type Definition
tract_pulse
::
model
::
PulsedModel
source
·
[
−
]
pub type PulsedModel =
Graph
<
PulsedFact
,
Box
<dyn
PulsedOp
>>;
Trait Implementations
source
impl
PulsedModelExt
for
PulsedModel
source
fn
new
(source: &
TypedModel
, pulse:
usize
) ->
TractResult
<
PulsedModel
>
source
fn
new_with_mapping
(
source: &
TypedModel
,
pulse:
usize
) ->
TractResult
<(
PulsedModel
,
HashMap
<
OutletId
,
OutletId
>)>
source
fn
into_typed
(self) ->
TractResult
<
TypedModel
>
source
impl
SpecialOps
<
PulsedFact
,
Box
<dyn
PulsedOp
+ 'static,
Global
>> for
PulsedModel
source
fn
is_source
(op: &
Box
<dyn
PulsedOp
>) ->
bool
source
fn
create_source
(&self, fact:
PulsedFact
) ->
Box
<dyn
PulsedOp
>
source
fn
create_dummy
(&self) ->
Box
<dyn
PulsedOp
>
source
fn
wire_node
(
&mut self,
name: impl
Into
<
String
>,
op: impl
Into
<
Box
<dyn
PulsedOp
>>,
inputs: &[
OutletId
]
) ->
TractResult
<
TVec
<
OutletId
>>