Struct rbx_types::BinaryString
source · pub struct BinaryString { /* private fields */ }
Expand description
Container for untyped binary data.
BinaryString
is used in cases where the type of the underlying data is
unknown or unimplemented. Where possible, stronger types that interpret the
underlying bytes should be preferred.
Implementations§
Trait Implementations§
source§impl AsMut<[u8]> for BinaryString
impl AsMut<[u8]> for BinaryString
source§impl AsRef<[u8]> for BinaryString
impl AsRef<[u8]> for BinaryString
source§impl Clone for BinaryString
impl Clone for BinaryString
source§fn clone(&self) -> BinaryString
fn clone(&self) -> BinaryString
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 BinaryString
impl Debug for BinaryString
source§impl Default for BinaryString
impl Default for BinaryString
source§fn default() -> BinaryString
fn default() -> BinaryString
Returns the “default value” for a type. Read more
source§impl From<&[u8]> for BinaryString
impl From<&[u8]> for BinaryString
source§impl From<BinaryString> for Variant
impl From<BinaryString> for Variant
source§fn from(value: BinaryString) -> Self
fn from(value: BinaryString) -> Self
Converts to this type from the input type.
source§impl From<BinaryString> for Vec<u8>
impl From<BinaryString> for Vec<u8>
source§fn from(value: BinaryString) -> Self
fn from(value: BinaryString) -> Self
Converts to this type from the input type.
source§impl Hash for BinaryString
impl Hash for BinaryString
source§impl PartialEq for BinaryString
impl PartialEq for BinaryString
source§fn eq(&self, other: &BinaryString) -> bool
fn eq(&self, other: &BinaryString) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BinaryString
impl StructuralEq for BinaryString
impl StructuralPartialEq for BinaryString
Auto Trait Implementations§
impl RefUnwindSafe for BinaryString
impl Send for BinaryString
impl Sync for BinaryString
impl Unpin for BinaryString
impl UnwindSafe for BinaryString
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