pub struct BitVector {
pub length: u64,
pub bit_field: MoveVec<bool>,
}Fields§
§length: u64§bit_field: MoveVec<bool>Implementations§
Source§impl BitVector
impl BitVector
pub fn move_instance(self) -> MoveInstance<Self>
pub fn type_() -> BitVectorTypeTag
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BitVector
impl<'de> Deserialize<'de> for BitVector
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MoveStruct for BitVector
impl MoveStruct for BitVector
type StructTag = BitVectorTypeTag
Source§impl MoveType for BitVector
impl MoveType for BitVector
Source§impl StaticModule for BitVector
impl StaticModule for BitVector
fn module() -> Identifier
Source§impl StaticName for BitVector
impl StaticName for BitVector
fn name() -> Identifier
Source§impl StaticTypeParams for BitVector
impl StaticTypeParams for BitVector
fn type_params() -> Vec<TypeTag>
impl Eq for BitVector
impl StructuralPartialEq for BitVector
Auto Trait Implementations§
impl Freeze for BitVector
impl RefUnwindSafe for BitVector
impl Send for BitVector
impl Sync for BitVector
impl Unpin for BitVector
impl UnwindSafe for BitVector
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§impl<'de, T> FromBcs for Twhere
T: Deserialize<'de>,
impl<'de, T> FromBcs for Twhere
T: Deserialize<'de>,
fn from_bcs<'de>(bytes: &'de [u8]) -> Result<Self, Error>where
Self: Deserialize<'de>,
fn from_bcs_base64(base64: &str) -> Result<Self, Error>where
Self: DeserializeOwned,
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