pub fn dtype(&self) -> Result<Datatype> {
        if self.is_attr() {
            Datatype::from_id(h5try!(H5Aget_type(self.id())))
        } else {
            Datatype::from_id(h5try!(H5Dget_type(self.id())))
        }
    }
/// Returns the datatype of the dataset/attribute.
Returns the datatype of the dataset/attribute.
Returns the datatype of the dataset / attribute .
pub fn dtype(&self) -> Result<Datatype> {
        if self.is_attr() {
            Datatype::from_id(h5try!(H5Aget_type(self.id())))
        } else {
            Datatype::from_id(h5try!(H5Dget_type(self.id())))
        }
    }
pub fn dtype ( & self ) -> Result < Datatype > { if self . is_attr ( ) { Datatype :: from_id ( h5try ! ( H5Aget_type ( self id ( ) ) ) ) } else { Datatype :: from_id ( h5try ! ( H5Dget_type ( self id ( ) ) ) ) } }
Returns the datatype of the dataset/attribute.
Returns the datatype of the dataset / attribute .
&self
&self