SourceAnalysisOptions
struct · ferroui-protranslate-build · v0.5.0
struct SourceAnalysisOptions
Rust syntax analysis is opt-in and scoped to explicit receiver expressions. This avoids claiming semantic type analysis that a build script cannot perform.
Members
receivers
receivers: std::collections::BTreeSet<String>
generated_accessors
generated_accessors: bool
Inspect generated get/value/format/observe methods on selected receivers.
receiver
fn receiver(self: Self, expression: impl Into<String>) -> Self
generated_accessors
fn generated_accessors(self: Self, enabled: bool) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.