Struct tvm::ir::relay::PatternConstructor [−][src]
pub struct PatternConstructor(_);
Implementations
pub fn new(
constructor: Constructor,
patterns: Array<Pattern>,
span: Span
) -> PatternConstructor
Trait Implementations
type Target = PatternConstructorNode
type Target = PatternConstructorNode
The resulting type after dereferencing.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Object = PatternConstructorNode
fn downcast<U>(self) -> Result<U, Error> where
U: IsObjectRef,
<U as IsObjectRef>::Object: AsRef<Self::Object>,
Auto Trait Implementations
impl RefUnwindSafe for PatternConstructor
impl !Send for PatternConstructor
impl !Sync for PatternConstructor
impl Unpin for PatternConstructor
impl UnwindSafe for PatternConstructor
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more