Docs.rs
  • svd2rust-0.32.0
    • svd2rust 0.32.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • japaric
    • github:rust-embedded:tools
    • Dependencies
      • anyhow ^1.0 normal
      • clap ^4.0 normal optional
      • env_logger ^0.11 normal optional
      • html-escape ^0.2 normal
      • inflections ^1.1 normal
      • irx-config =3.3.0 normal optional
      • log ~0.4 normal
      • proc-macro2 ^1.0 normal
      • quote ^1.0 normal
      • regex ^1.10.0 normal
      • serde ^1.0 normal optional
      • serde_json ^1.0.85 normal optional
      • serde_yaml ^0.9.11 normal optional
      • svd-parser ^0.14.5 normal
      • svd-rs ^0.14.8 normal
      • syn ^2.0 normal
      • thiserror ^1.0 normal
    • Versions
    • 6.54% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

svd2rust0.32.0

Module util

  • Re-exports
  • Constants
  • Traits
  • Functions

In crate svd2rust

?
Change settings

Module svd2rust::util

source ·

Re-exports§

  • pub use crate::config::Case;
  • pub use crate::config::IdentFormat;

Constants§

  • BITS_PER_BYTE

Traits§

  • DimSuffix
  • FullName
  • U32Ext

Functions§

  • access_of
  • block_path_to_ty
  • build_rs
  • digit_or_hex
  • escape_brackets
  • escape_special_chars
    Escape basic html tags and brackets
  • fullname
  • group_names
  • hex
    Turns n into an unsuffixed separated hex token
  • ident
  • ident_str
  • ident_to_path
  • name_of
  • name_to_ty
  • new_syn_u32
  • path_segment
  • peripheral_names
  • register_path_to_ty
  • respace
  • sanitize_keyword
  • type_path
  • unsuffixed
    Turns n into an unsuffixed token
  • unsuffixed_or_bool
  • zst_type