[−][src]Trait dustr::types::Behavior
The behavior of a Type
as needed to generate its dart code.
The behavior of a Type
as needed to generate its dart code.
fn is(&self, sty: &Type) -> bool
fn imports(&self, sty: &Type, pkg: &str, crate_name: &str) -> Vec<String>
fn name(&self, sty: &Type) -> String
fn ffi(&self, sty: &Type) -> String
fn native(&self, sty: &Type) -> String
fn native_to_ffi(&self, sty: &Type, expr: String) -> String
fn ffi_to_native(&self, sty: &Type, expr: String) -> String
impl Behavior for dustr::types::BehaviorBool
[src]fn is(&self, sty: &Type) -> bool
[src]fn imports(&self, _sty: &Type, _pkg: &str, _crate_name: &str) -> Vec<String>
[src]fn name(&self, _sty: &Type) -> String
[src]fn shim(&self, _sty: &Type) -> String
[src]fn ffi(&self, _sty: &Type) -> String
[src]fn native(&self, _sty: &Type) -> String
[src]fn native_to_ffi(&self, _sty: &Type, expr: String) -> String
[src]fn ffi_to_native(&self, _sty: &Type, expr: String) -> String
[src]impl Behavior for dustr::types::BehaviorDuration
[src]fn is(&self, sty: &Type) -> bool
[src]fn imports(&self, _sty: &Type, _pkg: &str, _crate_name: &str) -> Vec<String>
[src]fn name(&self, _sty: &Type) -> String
[src]fn shim(&self, _sty: &Type) -> String
[src]fn ffi(&self, _sty: &Type) -> String
[src]fn native(&self, _sty: &Type) -> String
[src]fn native_to_ffi(&self, _sty: &Type, expr: String) -> String
[src]fn ffi_to_native(&self, _sty: &Type, expr: String) -> String
[src]impl Behavior for dustr::types::BehaviorForeign
[src]fn is(&self, _: &Type) -> bool
[src]fn imports(&self, sty: &Type, pkg: &str, crate_name: &str) -> Vec<String>
[src]fn name(&self, _sty: &Type) -> String
[src]fn ffi(&self, sty: &Type) -> String
[src]fn native(&self, sty: &Type) -> String
[src]fn native_to_ffi(&self, _sty: &Type, expr: String) -> String
[src]fn ffi_to_native(&self, _sty: &Type, expr: String) -> String
[src]impl Behavior for dustr::types::BehaviorOption
[src]fn is(&self, sty: &Type) -> bool
[src]fn imports(&self, _sty: &Type, pkg: &str, _crate_name: &str) -> Vec<String>
[src]fn name(&self, _sty: &Type) -> String
[src]fn shim(&self, sty: &Type) -> String
[src]fn ffi(&self, sty: &Type) -> String
[src]fn native(&self, sty: &Type) -> String
[src]fn native_to_ffi(&self, sty: &Type, expr: String) -> String
[src]fn ffi_to_native(&self, sty: &Type, expr: String) -> String
[src]impl Behavior for dustr::types::BehaviorReference
[src]fn is(&self, sty: &Type) -> bool
[src]fn imports(&self, sty: &Type, pkg: &str, crate_name: &str) -> Vec<String>
[src]fn name(&self, sty: &Type) -> String
[src]fn ffi(&self, sty: &Type) -> String
[src]fn native(&self, sty: &Type) -> String
[src]fn native_to_ffi(&self, sty: &Type, expr: String) -> String
[src]fn ffi_to_native(&self, sty: &Type, expr: String) -> String
[src]impl Behavior for dustr::types::BehaviorResult
[src]fn is(&self, sty: &Type) -> bool
[src]fn imports(&self, sty: &Type, pkg: &str, crate_name: &str) -> Vec<String>
[src]fn name(&self, _sty: &Type) -> String
[src]fn ffi(&self, _sty: &Type) -> String
[src]fn native(&self, _sty: &Type) -> String
[src]fn native_to_ffi(&self, _sty: &Type, _expr: String) -> String
[src]fn ffi_to_native(&self, _sty: &Type, _expr: String) -> String
[src]impl Behavior for dustr::types::BehaviorScalars
[src]fn is(&self, sty: &Type) -> bool
[src]fn imports(&self, _sty: &Type, _pkg: &str, _crate_name: &str) -> Vec<String>
[src]fn name(&self, sty: &Type) -> String
[src]fn shim(&self, sty: &Type) -> String
[src]fn ffi(&self, sty: &Type) -> String
[src]fn native(&self, sty: &Type) -> String
[src]fn native_to_ffi(&self, _sty: &Type, expr: String) -> String
[src]fn ffi_to_native(&self, _sty: &Type, expr: String) -> String
[src]impl Behavior for dustr::types::BehaviorString
[src]fn is(&self, sty: &Type) -> bool
[src]fn imports(&self, _sty: &Type, pkg: &str, _crate_name: &str) -> Vec<String>
[src]fn name(&self, _sty: &Type) -> String
[src]fn ffi(&self, _sty: &Type) -> String
[src]fn native(&self, _sty: &Type) -> String
[src]fn native_to_ffi(&self, _sty: &Type, expr: String) -> String
[src]fn ffi_to_native(&self, _sty: &Type, expr: String) -> String
[src]impl Behavior for dustr::types::BehaviorVec
[src]fn is(&self, sty: &Type) -> bool
[src]fn imports(&self, sty: &Type, pkg: &str, crate_name: &str) -> Vec<String>
[src]fn name(&self, _sty: &Type) -> String
[src]fn ffi(&self, _sty: &Type) -> String
[src]fn native(&self, sty: &Type) -> String
[src]fn native_to_ffi(&self, _sty: &Type, expr: String) -> String
[src]fn ffi_to_native(&self, sty: &Type, expr: String) -> String
[src]