pub fn from_chars(raw: impl Into<Vec<char>>) -> Self {
        UString {
            inner: unsafe { mem::transmute(raw.into()) },
        }
    }
/// Constructs a `U32String` from a vector of UTF-32 data.
///
/// No checks are made on the contents of the vector.
///
/// # Examples
///
/// ```rust
/// use widestring::U32String;
/// let v: Vec<char> = "Test".chars().collect();
/// # let cloned: Vec<u32> = v.iter().map(|&c| c as u32).collect();
/// // Create a wide string from the vector
/// let wstr = U32String::from_chars(v);
/// # assert_eq!(wstr.into_vec(), cloned);
/// ```
Constructs a `U32String` from a vector of UTF-32 data.
No checks are made on the contents of the vector.
Constructs a ` U32String ` from a vector of UTF - 32 data . No checks are made on the contents of the vector .
pub fn from_chars(raw: impl Into<Vec<char>>) -> Self {
        UString {
            inner: unsafe { mem::transmute(raw.into()) },
        }
    }
pub fn from_chars ( raw : impl Into < Vec < char > > ) -> Self { UString { inner : unsafe { mem :: transmute ( raw . into ( ) ) } , } }
Constructs a `U32String` from a vector of UTF-32 data.
Constructs a ` U32String ` from a vector of UTF - 32 data .
raw
impl Into<Vec<char>>
raw
impl Into<Vec<char>>
examples
```rust
use widestring::U32String;
let v: Vec = "Test".chars().collect().
` ` ` rust use widestring :: U32String ; let v : Vec = " Test " . chars () . collect () .
let cloned: vec<u32> = v.iter().map(|&c| c as u32).collect();
Create a wide string from the vector
let wstr = U32String::from_chars(v).
Create a wide string from the vector let wstr = U32String :: from_chars ( v ) .
assert_eq!(wstr.into_vec(), cloned);
None