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
impl Clone for VSIDIREntry
source§fn clone(&self) -> VSIDIREntry
fn clone(&self) -> VSIDIREntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VSIDIREntry
impl Debug for VSIDIREntry
impl Copy for VSIDIREntry
Auto Trait Implementations§
impl Freeze for VSIDIREntry
impl RefUnwindSafe for VSIDIREntry
impl !Send for VSIDIREntry
impl !Sync for VSIDIREntry
impl Unpin for VSIDIREntry
impl UnwindSafe for VSIDIREntry
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)