Struct alpm_sys::_alpm_file_t
source · #[repr(C)]pub struct _alpm_file_t {
pub name: *mut c_char,
pub size: off_t,
pub mode: mode_t,
}
Expand description
File in a package
Fields§
§name: *mut c_char
Name of the file
size: off_t
Size of the file
mode: mode_t
The file’s permissions
Trait Implementations§
source§impl Clone for _alpm_file_t
impl Clone for _alpm_file_t
source§fn clone(&self) -> _alpm_file_t
fn clone(&self) -> _alpm_file_t
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 _alpm_file_t
impl Debug for _alpm_file_t
impl Copy for _alpm_file_t
Auto Trait Implementations§
impl RefUnwindSafe for _alpm_file_t
impl !Send for _alpm_file_t
impl !Sync for _alpm_file_t
impl Unpin for _alpm_file_t
impl UnwindSafe for _alpm_file_t
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