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