pub struct Spelled;Expand description
Text as it’s spelled — markup’s attribute, which may spell a reference
(@file:images/logo.png): a string kept as written, a typed value as its
spelling. Nothing is checked or resolved here.
Trait Implementations§
Source§impl With<String> for Spelled
impl With<String> for Spelled
Source§fn write_text(f: &String, w: &mut Writer)
fn write_text(f: &String, w: &mut Writer)
The field as text, straight: its value as text unless the codec
knows better (see
Schema::write_text).Source§fn encode(f: &F, w: &mut Writer)
fn encode(f: &F, w: &mut Writer)
The field in the binary form, straight: its value encoded unless
the codec knows better.
Source§fn decode(d: &mut Decoder<'_>) -> Option<F>
fn decode(d: &mut Decoder<'_>) -> Option<F>
The field from the binary form, straight;
None sends the read the
slow way (see Schema::decode).Auto Trait Implementations§
impl Freeze for Spelled
impl RefUnwindSafe for Spelled
impl Send for Spelled
impl Sync for Spelled
impl Unpin for Spelled
impl UnsafeUnpin for Spelled
impl UnwindSafe for Spelled
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