pub struct PrintableStringSpec {
pub inner: Seq<char>,
}Fields§
§inner: Seq<char>Implementations§
Trait Implementations§
Source§impl<const HAS_MIN: bool, const MIN: usize, const HAS_MAX: bool, const MAX: usize> SpecPred<PrintableStringSpec> for Size<HAS_MIN, MIN, HAS_MAX, MAX>
impl<const HAS_MIN: bool, const MIN: usize, const HAS_MAX: bool, const MAX: usize> SpecPred<PrintableStringSpec> for Size<HAS_MIN, MIN, HAS_MAX, MAX>
Source§open spec fn apply(&self, value: PrintableStringSpec) -> bool
open spec fn apply(&self, value: PrintableStringSpec) -> bool
{ size_in_range::<HAS_MIN, MIN, HAS_MAX, MAX>(value.inner.len()) }Source§impl SpecPred<PrintableStringSpec> for NumericStringChars
impl SpecPred<PrintableStringSpec> for NumericStringChars
Source§open spec fn apply(&self, value: PrintableStringSpec) -> bool
open spec fn apply(&self, value: PrintableStringSpec) -> bool
{ is_valid_numeric_string(value.inner) }Auto Trait Implementations§
impl Freeze for PrintableStringSpec
impl RefUnwindSafe for PrintableStringSpec
impl Send for PrintableStringSpec
impl Sync for PrintableStringSpec
impl Unpin for PrintableStringSpec
impl UnsafeUnpin for PrintableStringSpec
impl UnwindSafe for PrintableStringSpec
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