pub struct RelationContent { /* private fields */ }
Expand description
Sometimes mathematical relations can be made of more than one character, so we need a way to represent them when one character is not enough.
Implementations§
Source§impl RelationContent
impl RelationContent
Sourcepub fn encode_utf8_to_buf<'a>(&self, buf: &'a mut [u8]) -> &'a [u8] ⓘ
pub fn encode_utf8_to_buf<'a>(&self, buf: &'a mut [u8]) -> &'a [u8] ⓘ
Write the content of the relation to a buffer, and output the filled slice of that buffer.
To ensure a successful operation, the buffer must be at least 8 bytes long.
Trait Implementations§
Source§impl Clone for RelationContent
impl Clone for RelationContent
Source§fn clone(&self) -> RelationContent
fn clone(&self) -> RelationContent
Returns a duplicate 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 RelationContent
impl Debug for RelationContent
Source§impl PartialEq for RelationContent
impl PartialEq for RelationContent
impl Copy for RelationContent
impl StructuralPartialEq for RelationContent
Auto Trait Implementations§
impl Freeze for RelationContent
impl RefUnwindSafe for RelationContent
impl Send for RelationContent
impl Sync for RelationContent
impl Unpin for RelationContent
impl UnwindSafe for RelationContent
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