#[repr(C)]pub struct ExternalFile {
pub id: ObjID,
pub name: [u8; 256],
pub name_len: u32,
pub kind: ExternalKind,
}
Fields§
§id: ObjID
§name: [u8; 256]
§name_len: u32
§kind: ExternalKind
Implementations§
Trait Implementations§
Source§impl Clone for ExternalFile
impl Clone for ExternalFile
Source§fn clone(&self) -> ExternalFile
fn clone(&self) -> ExternalFile
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 ExternalFile
impl Debug for ExternalFile
Source§impl Hash for ExternalFile
impl Hash for ExternalFile
Source§impl Ord for ExternalFile
impl Ord for ExternalFile
Source§fn cmp(&self, other: &ExternalFile) -> Ordering
fn cmp(&self, other: &ExternalFile) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExternalFile
impl PartialEq for ExternalFile
Source§impl PartialOrd for ExternalFile
impl PartialOrd for ExternalFile
impl Copy for ExternalFile
impl Eq for ExternalFile
impl StructuralPartialEq for ExternalFile
Auto Trait Implementations§
impl Freeze for ExternalFile
impl ObjSafe for ExternalFile
impl RefUnwindSafe for ExternalFile
impl Send for ExternalFile
impl StoreCopy for ExternalFile
impl Sync for ExternalFile
impl Unpin for ExternalFile
impl UnwindSafe for ExternalFile
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more