Struct gdal_sys::VSIDIREntry

source ·
#[repr(C)]
pub struct VSIDIREntry { pub pszName: *mut c_char, pub nMode: c_int, pub nSize: vsi_l_offset, pub nMTime: GIntBig, pub bModeKnown: c_char, pub bSizeKnown: c_char, pub bMTimeKnown: c_char, pub papszExtra: *mut *mut c_char, }
Expand description

Directory entry.

Fields§

§pszName: *mut c_char

Filename

§nMode: c_int

File mode. See VSI_ISREG() / VSI_ISDIR()

§nSize: vsi_l_offset

File size

§nMTime: GIntBig

Last modification time (seconds since 1970/01/01)

§bModeKnown: c_char

Whether nMode is known: 0 = unknown, 1 = known.

§bSizeKnown: c_char

Whether nSize is known: 0 = unknown, 1 = known.

§bMTimeKnown: c_char

Whether nMTime is known: 0 = unknown, 1 = known.

§papszExtra: *mut *mut c_char

NULL-terminated list of extra properties.

Trait Implementations§

source§

impl Clone for VSIDIREntry

source§

fn clone(&self) -> VSIDIREntry

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VSIDIREntry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for VSIDIREntry

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.