Skip to main content

coerce_with_control

Function coerce_with_control 

Source
pub fn coerce_with_control(
    value: &BitStringValue,
    kind: BitStringKind,
    modifier: i32,
    explicit: bool,
    control: &ProductionControl<'_>,
) -> Result<Produced<BitStringValue>>
Expand description

Apply assignment or explicit-cast length semantics without changing the borrowed source or allocating an unpacked temporary.