pub struct BookText;Expand description
A shown text: as yog_data::with::TextOf, and every link in it
({link=@entry:…|…}, or a web address) checked.
Trait Implementations§
Source§impl With<String> for BookText
impl With<String> for BookText
fn shape() -> Shape
fn read(v: &ValueRef<'_>, cx: &mut Reader<'_>) -> Option<String>
fn write(f: &String) -> Value
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 BookText
impl RefUnwindSafe for BookText
impl Send for BookText
impl Sync for BookText
impl Unpin for BookText
impl UnsafeUnpin for BookText
impl UnwindSafe for BookText
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