[−][src]Struct tract_core::ops::source::PulsedSource
Implementations
impl PulsedSource[src]
pub fn new(fact: PulsedFact) -> Self[src]
Constructs a new PulsedSource.
Trait Implementations
impl Clone for PulsedSource[src]
fn clone(&self) -> PulsedSource[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PulsedSource[src]
impl DynHash for PulsedSource[src]
impl Hash for PulsedSource[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Op for PulsedSource[src]
fn name(&self) -> Cow<'_, str>[src]
fn is_canonic(&self) -> bool[src]
fn op_families(&self) -> &'static [&'static str][src]
fn as_typed(&self) -> Option<&dyn TypedOp>[src]
fn as_pulsed(&self) -> Option<&dyn PulsedOp>[src]
fn validation(&self) -> Validation[src]
fn same_as(&self, _other: &dyn Op) -> bool[src]
fn info(&self) -> TractResult<Vec<String>>[src]
impl PulsedOp for PulsedSource[src]
fn pulsed_output_facts(
&self,
_inputs: &[&PulsedFact]
) -> TractResult<TVec<PulsedFact>>[src]
&self,
_inputs: &[&PulsedFact]
) -> TractResult<TVec<PulsedFact>>
fn to_typed(&self) -> Box<dyn TypedOp>[src]
fn as_op(&self) -> &dyn Op[src]
fn as_op_mut(&mut self) -> &mut dyn Op[src]
impl StatefullOp for PulsedSource[src]
fn state(
&self,
_session: &mut SessionState,
node_id: usize
) -> TractResult<Option<Box<dyn OpState>>>[src]
&self,
_session: &mut SessionState,
node_id: usize
) -> TractResult<Option<Box<dyn OpState>>>
fn as_stateless(&self) -> Option<&dyn StatelessOp>[src]
Auto Trait Implementations
impl RefUnwindSafe for PulsedSource
impl Send for PulsedSource
impl Sync for PulsedSource
impl Unpin for PulsedSource
impl UnwindSafe for PulsedSource
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Downcast for T where
T: Any, [src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>[src]
fn as_any(&self) -> &(dyn Any + 'static)[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any, [src]
T: Send + Sync + Any,
impl<T> DynClone for T where
T: Clone, [src]
T: Clone,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<O> StatefullOp for O where
O: StatelessOp + Clone, [src]
O: StatelessOp + Clone,
fn state(
&Self,
&mut SessionState,
usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>[src]
&Self,
&mut SessionState,
usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
fn as_stateless(&Self) -> Option<&(dyn StatelessOp + 'static)>[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,