/// Returns the commment attached to the named object, if any.
Returns the commment attached to the named object, if any.
Returns the commment attached to the named object if any .
pub fn comment(&self) -> Option<String> {
        // TODO: should this return Result<Option<String>> or fail silently?
        let comment = h5lock!(get_h5_str(|m, s| H5Oget_comment(self.id(), m, s)).ok());
        comment.and_then(|c| if c.is_empty() { None } else { Some(c) })
    }
pub fn comment ( & self ) -> Option < String > { // TODO: should this return Result<Option<String>> or fail silently? let comment = h5lock ! ( get_h5_str ( m s H5Oget_comment ( self id ( ) m s ) ) ok ( ) ) ; comment . and_then ( | c | if c . is_empty ( ) { None } else { Some ( c ) } ) }
Returns the commment attached to the named object, if any.
Returns the commment attached to the named object if any .
&self