Struct gio::FileAttributeInfo
source · pub struct FileAttributeInfo { /* private fields */ }
Expand description
Information about a specific attribute.
Implementations§
source§impl FileAttributeInfo
impl FileAttributeInfo
pub fn as_ptr(&self) -> *mut GFileAttributeInfo
sourcepub unsafe fn from_glib_ptr_borrow<'a>(
ptr: *const GFileAttributeInfo
) -> &'a Self
pub unsafe fn from_glib_ptr_borrow<'a>( ptr: *const GFileAttributeInfo ) -> &'a Self
Borrows the underlying C value.
sourcepub unsafe fn from_glib_ptr_borrow_mut<'a>(
ptr: *mut GFileAttributeInfo
) -> &'a mut Self
pub unsafe fn from_glib_ptr_borrow_mut<'a>( ptr: *mut GFileAttributeInfo ) -> &'a mut Self
Borrows the underlying C value mutably.
source§impl FileAttributeInfo
impl FileAttributeInfo
pub fn name(&self) -> &str
pub fn type_(&self) -> FileAttributeType
pub fn flags(&self) -> FileAttributeInfoFlags
Trait Implementations§
source§impl Clone for FileAttributeInfo
impl Clone for FileAttributeInfo
source§impl Debug for FileAttributeInfo
impl Debug for FileAttributeInfo
Auto Trait Implementations§
impl RefUnwindSafe for FileAttributeInfo
impl !Send for FileAttributeInfo
impl !Sync for FileAttributeInfo
impl Unpin for FileAttributeInfo
impl UnwindSafe for FileAttributeInfo
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