pub struct TranspilationAnnotations {Show 23 fields
pub type_strategy: TypeStrategy,
pub ownership_model: OwnershipModel,
pub safety_level: SafetyLevel,
pub performance_hints: Vec<PerformanceHint>,
pub fallback_strategy: FallbackStrategy,
pub bounds_checking: BoundsChecking,
pub optimization_level: OptimizationLevel,
pub thread_safety: ThreadSafety,
pub interior_mutability: InteriorMutability,
pub string_strategy: StringStrategy,
pub hash_strategy: HashStrategy,
pub panic_behavior: PanicBehavior,
pub error_strategy: ErrorStrategy,
pub global_strategy: GlobalStrategy,
pub termination: Termination,
pub invariants: Vec<String>,
pub verify_bounds: bool,
pub service_type: Option<ServiceType>,
pub migration_strategy: Option<MigrationStrategy>,
pub compatibility_layer: Option<CompatibilityLayer>,
pub pattern: Option<String>,
pub lambda_annotations: Option<LambdaAnnotations>,
pub custom_attributes: Vec<String>,
}Fields§
§type_strategy: TypeStrategy§ownership_model: OwnershipModel§safety_level: SafetyLevel§performance_hints: Vec<PerformanceHint>§fallback_strategy: FallbackStrategy§bounds_checking: BoundsChecking§optimization_level: OptimizationLevel§thread_safety: ThreadSafety§interior_mutability: InteriorMutability§string_strategy: StringStrategy§hash_strategy: HashStrategy§panic_behavior: PanicBehavior§error_strategy: ErrorStrategy§global_strategy: GlobalStrategy§termination: Termination§invariants: Vec<String>§verify_bounds: bool§service_type: Option<ServiceType>§migration_strategy: Option<MigrationStrategy>§compatibility_layer: Option<CompatibilityLayer>§pattern: Option<String>§lambda_annotations: Option<LambdaAnnotations>§custom_attributes: Vec<String>Trait Implementations§
Source§impl Clone for TranspilationAnnotations
impl Clone for TranspilationAnnotations
Source§fn clone(&self) -> TranspilationAnnotations
fn clone(&self) -> TranspilationAnnotations
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TranspilationAnnotations
impl Debug for TranspilationAnnotations
Source§impl Default for TranspilationAnnotations
impl Default for TranspilationAnnotations
Source§impl<'de> Deserialize<'de> for TranspilationAnnotations
impl<'de> Deserialize<'de> for TranspilationAnnotations
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TranspilationAnnotations
impl PartialEq for TranspilationAnnotations
Source§impl Serialize for TranspilationAnnotations
impl Serialize for TranspilationAnnotations
impl Eq for TranspilationAnnotations
impl StructuralPartialEq for TranspilationAnnotations
Auto Trait Implementations§
impl Freeze for TranspilationAnnotations
impl RefUnwindSafe for TranspilationAnnotations
impl Send for TranspilationAnnotations
impl Sync for TranspilationAnnotations
impl Unpin for TranspilationAnnotations
impl UnwindSafe for TranspilationAnnotations
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more