Struct fidl_fuchsia_pkg_ext::BlobInfo
source · pub struct BlobInfo {
pub blob_id: BlobId,
pub length: u64,
}
Expand description
Convenience wrapper type for the autogenerated FIDL BlobInfo
.
Fields§
§blob_id: BlobId
§length: u64
Implementations§
Trait Implementations§
source§impl Arbitrary for BlobInfo
impl Arbitrary for BlobInfo
§type Parameters = (<BlobId as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters)
type Parameters = (<BlobId as Arbitrary>::Parameters, <u64 as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<(<BlobId as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy), fn(_: (BlobId, u64)) -> BlobInfo>
type Strategy = Map<(<BlobId as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy), fn(_: (BlobId, u64)) -> BlobInfo>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
source§impl Ord for BlobInfo
impl Ord for BlobInfo
source§impl PartialEq for BlobInfo
impl PartialEq for BlobInfo
source§impl PartialOrd for BlobInfo
impl PartialOrd for BlobInfo
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BlobInfo
impl Eq for BlobInfo
impl StructuralPartialEq for BlobInfo
Auto Trait Implementations§
impl Freeze for BlobInfo
impl RefUnwindSafe for BlobInfo
impl Send for BlobInfo
impl Sync for BlobInfo
impl Unpin for BlobInfo
impl UnwindSafe for BlobInfo
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.