Trait swiss_army_knife::strings::CStringFragments [−][src]
C string fragments.
Must not include a trailing NULL.
Used by NulTerminatedCStringArray::new()
.
Required methods
fn iterate(self, provide_fragment: &mut impl FnMut(&[u8]))
[src]
Specialized iteration as general iterators are too difficult to use with the various lifetimes and variable size of collections of fragments (which would require heap allocation).
Implementations on Foreign Types
impl CStringFragments for &[u8]
[src]
impl CStringFragments for Box<[u8]>
[src]
impl CStringFragments for &Box<[u8]>
[src]
impl CStringFragments for Vec<u8>
[src]
impl CStringFragments for &Vec<u8>
[src]
impl CStringFragments for CString
[src]
impl CStringFragments for &CStr
[src]
impl CStringFragments for OsString
[src]
impl CStringFragments for &OsStr
[src]
impl CStringFragments for PathBuf
[src]
impl CStringFragments for &Path
[src]
impl CStringFragments for String
[src]
impl CStringFragments for &str
[src]
impl CStringFragments for (&Box<[u8]>, &Option<Box<[u8]>>)
[src]
This implementation supports Environment.