pub trait Sink {
// Required method
fn apply(&mut self, op: Op) -> Result<(), Error>;
// Provided methods
fn supports_flex_grow_patch(&self) -> bool { ... }
fn set_flex_grow(&mut self, _id: NodeId, _value: f64) -> Result<(), Error> { ... }
fn create_plan(
&mut self,
plan: &Plan,
ids: &[NodeId],
keys: &[u64],
shape: &PlanShape,
) -> Result<(), Error> { ... }
}Required Methods§
Provided Methods§
Sourcefn supports_flex_grow_patch(&self) -> bool
fn supports_flex_grow_patch(&self) -> bool
Opt in to updating an existing inline flex-grow declaration alone.
fn set_flex_grow(&mut self, _id: NodeId, _value: f64) -> Result<(), Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".