pub trait ChainInput: Component {
const KIND_UNKNOWN: &'static str;
const KIND_PARAMS: &'static str;
const FORCE_ALWAYS_DIRTY: bool;
// Required method
fn chain(&self) -> &FilterChain;
}Expand description
Input side of one resolve_chains instance: which wire-chain component
feeds it, its diag kinds, and per-instance semantics. Implemented by
FilterInput (the content filter chain) and
BackdropInput (backdropFilter).
Required Associated Constants§
Sourceconst KIND_UNKNOWN: &'static str
const KIND_UNKNOWN: &'static str
Diag kind reported for an unknown filter name.
Sourceconst KIND_PARAMS: &'static str
const KIND_PARAMS: &'static str
Diag kind reported for rejected params.
Sourceconst FORCE_ALWAYS_DIRTY: bool
const FORCE_ALWAYS_DIRTY: bool
Force always_dirty on every resolved chain. Backdrop chains set
this: their source (the frame behind the node) is live, so the filter
run must re-stage every frame regardless of USES_TIME.
Required Methods§
fn chain(&self) -> &FilterChain
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".