pub struct FileAttributeInfo { /* private fields */ }
Expand description
Information about a specific attribute.
GLib type: Inline allocated boxed type with stack copy semantics.
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 Freeze for FileAttributeInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)