pub struct MckpConfig {
pub recursion_depth: usize,
pub formats_enabled: Vec<String>,
pub shape_thresholds: ShapeThresholds,
}Fields§
§recursion_depth: usizeMaximum recursion depth for deep_mckp (per-leaf format selection).
formats_enabled: Vec<String>Which format encoders the L2 router may emit.
shape_thresholds: ShapeThresholdsImplementations§
Source§impl MckpConfig
impl MckpConfig
pub fn format_enabled(&self, id: &str) -> bool
Trait Implementations§
Source§impl Clone for MckpConfig
impl Clone for MckpConfig
Source§fn clone(&self) -> MckpConfig
fn clone(&self) -> MckpConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MckpConfig
impl Debug for MckpConfig
Source§impl Default for MckpConfig
impl Default for MckpConfig
Source§impl<'de> Deserialize<'de> for MckpConfig
impl<'de> Deserialize<'de> for MckpConfig
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
Auto Trait Implementations§
impl Freeze for MckpConfig
impl RefUnwindSafe for MckpConfig
impl Send for MckpConfig
impl Sync for MckpConfig
impl Unpin for MckpConfig
impl UnsafeUnpin for MckpConfig
impl UnwindSafe for MckpConfig
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