pub enum CharacterSet {
Ascii,
Utf8,
}Expand description
The character set a link name is stored in — H5T_cset_t narrowed to the
two values H5O__link_decode accepts (lnk->cset < H5T_CSET_ASCII || lnk->cset > H5T_CSET_UTF8 is a hard error there, so a third value is not
a link message at all).
It is a property of the link, not of the name bytes: it comes from the
link creation property list (H5Pset_char_encoding), and libhdf5 happily
stores a name with high bytes under Ascii when that is what the property
list said. It is also the axis that decides a group’s storage — see
LinkMessage::fits_symbol_table.
Variants§
Ascii
H5T_CSET_ASCII, and H5F_DEFAULT_CSET: the value a link carries
when the message has no character set field.
Utf8
H5T_CSET_UTF8.
Implementations§
Trait Implementations§
Source§impl Clone for CharacterSet
impl Clone for CharacterSet
impl Copy for CharacterSet
Source§impl Debug for CharacterSet
impl Debug for CharacterSet
Source§impl Default for CharacterSet
impl Default for CharacterSet
impl Eq for CharacterSet
Source§impl PartialEq for CharacterSet
impl PartialEq for CharacterSet
impl StructuralPartialEq for CharacterSet
Auto Trait Implementations§
impl Freeze for CharacterSet
impl RefUnwindSafe for CharacterSet
impl Send for CharacterSet
impl Sync for CharacterSet
impl Unpin for CharacterSet
impl UnsafeUnpin for CharacterSet
impl UnwindSafe for CharacterSet
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