[−][src]Type Definition lv2rs_atom::string::AtomString
type AtomString = ArrayAtomBody<(), i8>;
ASCII String.
See the module documentation for more information.
Methods
impl AtomString
[src]
pub fn as_cstr(&self) -> Result<&CStr, FromBytesWithNulError>
[src]
Try to wrap the string into a CStr
reference.
This function returns an error if the internal conversion fails.
Trait Implementations
impl AtomBody for AtomString
[src]
type InitializationParameter = CStr
The type of the parameter for initialize_body
Read more
fn get_uri() -> &'static CStr
[src]
unsafe fn initialize_body<'a, W>(
writer: &mut W,
string: &CStr,
urids: &mut CachedMap
) -> Result<(), ()> where
W: WritingFrame<'a> + WritingFrameExt<'a, Self>,
[src]
writer: &mut W,
string: &CStr,
urids: &mut CachedMap
) -> Result<(), ()> where
W: WritingFrame<'a> + WritingFrameExt<'a, Self>,