pub struct DefaultEngine<ET>where
ET: EngineTypes,{
pub aux: EngineAux<ET>,
pub state: <ET as EngineTypes>::State,
pub filesystem: <ET as EngineTypes>::FileSystem,
pub fontsystem: <ET as EngineTypes>::FontSystem,
pub mouth: <ET as EngineTypes>::Mouth,
pub gullet: <ET as EngineTypes>::Gullet,
pub stomach: <ET as EngineTypes>::Stomach,
}Expand description
Default implementation of a TeXEngine for the provided EngineTypes.
Fieldsยง
ยงaux: EngineAux<ET>ยงstate: <ET as EngineTypes>::Stateยงfilesystem: <ET as EngineTypes>::FileSystemยงfontsystem: <ET as EngineTypes>::FontSystemยงmouth: <ET as EngineTypes>::Mouthยงgullet: <ET as EngineTypes>::Gulletยงstomach: <ET as EngineTypes>::StomachTrait Implementationsยง
Sourceยงimpl<ET> Default for DefaultEngine<ET>where
ET: EngineTypes,
impl<ET> Default for DefaultEngine<ET>where
ET: EngineTypes,
Sourceยงfn default() -> DefaultEngine<ET>
fn default() -> DefaultEngine<ET>
Returns the โdefault valueโ for a type. Read more
ยงimpl RusTeXEngineExt for DefaultEngine<Types>
impl RusTeXEngineExt for DefaultEngine<Types>
ยงimpl RusTeXEngineT for DefaultEngine<Types>
impl RusTeXEngineT for DefaultEngine<Types>
Sourceยงimpl<ET> TeXEngine for DefaultEngine<ET>where
ET: EngineTypes,
impl<ET> TeXEngine for DefaultEngine<ET>where
ET: EngineTypes,
type Types = ET
Sourceยงfn get_engine_refs(&mut self) -> EngineReferences<'_, ET>
fn get_engine_refs(&mut self) -> EngineReferences<'_, ET>
Returns mutable references to the components of the engine.
Sourceยงfn do_file_default<F>(
&mut self,
s: &str,
f: F,
) -> Result<(), TeXError<Self::Types>>
fn do_file_default<F>( &mut self, s: &str, f: F, ) -> Result<(), TeXError<Self::Types>>
Compile a
.tex file. All finished pages are passed to the provided continuation. Read moreSourceยงfn initialize_tex_primitives(&mut self)
fn initialize_tex_primitives(&mut self)
Registers all primitives of plain TeX and sets the default variables.
Sourceยงfn initialize_plain_tex(&mut self) -> Result<(), TeXError<Self::Types>>
fn initialize_plain_tex(&mut self) -> Result<(), TeXError<Self::Types>>
Initialize the engine by processing
plain.tex. Read moreSourceยงfn initialize_etex_primitives(&mut self)
fn initialize_etex_primitives(&mut self)
Registers all primitives of plain TeX, e-TeX and sets the default variables.
Sourceยงfn initialize_eplain_tex(&mut self) -> Result<(), TeXError<Self::Types>>
fn initialize_eplain_tex(&mut self) -> Result<(), TeXError<Self::Types>>
Initialize the engine by processing
eplain.tex. Read moreSourceยงfn load_latex(&mut self) -> Result<(), TeXError<Self::Types>>
fn load_latex(&mut self) -> Result<(), TeXError<Self::Types>>
Initialized the engine by processing
latex.ltx. Only call this (for modern LaTeX setups)
after calling initialize_etex_primitives first. Read moreAuto Trait Implementationsยง
impl<ET> Freeze for DefaultEngine<ET>where
<ET as EngineTypes>::State: Freeze,
<ET as EngineTypes>::FileSystem: Freeze,
<ET as EngineTypes>::FontSystem: Freeze,
<ET as EngineTypes>::Mouth: Freeze,
<ET as EngineTypes>::Gullet: Freeze,
<ET as EngineTypes>::Stomach: Freeze,
<ET as EngineTypes>::ErrorHandler: Freeze,
<ET as EngineTypes>::Outputs: Freeze,
<ET as EngineTypes>::Extension: Freeze,
<<ET as EngineTypes>::CSName as CSName<<ET as EngineTypes>::Char>>::Handler: Freeze,
impl<ET> RefUnwindSafe for DefaultEngine<ET>where
<ET as EngineTypes>::State: RefUnwindSafe,
<ET as EngineTypes>::FileSystem: RefUnwindSafe,
<ET as EngineTypes>::FontSystem: RefUnwindSafe,
<ET as EngineTypes>::Mouth: RefUnwindSafe,
<ET as EngineTypes>::Gullet: RefUnwindSafe,
<ET as EngineTypes>::Stomach: RefUnwindSafe,
<ET as EngineTypes>::ErrorHandler: RefUnwindSafe,
<ET as EngineTypes>::Outputs: RefUnwindSafe,
<ET as EngineTypes>::Extension: RefUnwindSafe,
<<ET as EngineTypes>::CSName as CSName<<ET as EngineTypes>::Char>>::Handler: RefUnwindSafe,
<ET as EngineTypes>::Token: RefUnwindSafe,
impl<ET> Send for DefaultEngine<ET>where
<ET as EngineTypes>::State: Send,
<ET as EngineTypes>::FileSystem: Send,
<ET as EngineTypes>::FontSystem: Send,
<ET as EngineTypes>::Mouth: Send,
<ET as EngineTypes>::Gullet: Send,
<ET as EngineTypes>::Stomach: Send,
<ET as EngineTypes>::ErrorHandler: Send,
<ET as EngineTypes>::Outputs: Send,
<ET as EngineTypes>::Extension: Send,
<<ET as EngineTypes>::CSName as CSName<<ET as EngineTypes>::Char>>::Handler: Send,
impl<ET> Sync for DefaultEngine<ET>where
<ET as EngineTypes>::State: Sync,
<ET as EngineTypes>::FileSystem: Sync,
<ET as EngineTypes>::FontSystem: Sync,
<ET as EngineTypes>::Mouth: Sync,
<ET as EngineTypes>::Gullet: Sync,
<ET as EngineTypes>::Stomach: Sync,
<ET as EngineTypes>::ErrorHandler: Sync,
<ET as EngineTypes>::Outputs: Sync,
<ET as EngineTypes>::Extension: Sync,
<<ET as EngineTypes>::CSName as CSName<<ET as EngineTypes>::Char>>::Handler: Sync,
impl<ET> Unpin for DefaultEngine<ET>where
<ET as EngineTypes>::State: Unpin,
<ET as EngineTypes>::FileSystem: Unpin,
<ET as EngineTypes>::FontSystem: Unpin,
<ET as EngineTypes>::Mouth: Unpin,
<ET as EngineTypes>::Gullet: Unpin,
<ET as EngineTypes>::Stomach: Unpin,
<ET as EngineTypes>::ErrorHandler: Unpin,
<ET as EngineTypes>::Outputs: Unpin,
<ET as EngineTypes>::Extension: Unpin,
<<ET as EngineTypes>::CSName as CSName<<ET as EngineTypes>::Char>>::Handler: Unpin,
<ET as EngineTypes>::Token: Unpin,
impl<ET> UnsafeUnpin for DefaultEngine<ET>where
<ET as EngineTypes>::State: UnsafeUnpin,
<ET as EngineTypes>::FileSystem: UnsafeUnpin,
<ET as EngineTypes>::FontSystem: UnsafeUnpin,
<ET as EngineTypes>::Mouth: UnsafeUnpin,
<ET as EngineTypes>::Gullet: UnsafeUnpin,
<ET as EngineTypes>::Stomach: UnsafeUnpin,
<ET as EngineTypes>::ErrorHandler: UnsafeUnpin,
<ET as EngineTypes>::Outputs: UnsafeUnpin,
<ET as EngineTypes>::Extension: UnsafeUnpin,
<<ET as EngineTypes>::CSName as CSName<<ET as EngineTypes>::Char>>::Handler: UnsafeUnpin,
impl<ET> UnwindSafe for DefaultEngine<ET>where
<ET as EngineTypes>::State: UnwindSafe,
<ET as EngineTypes>::FileSystem: UnwindSafe,
<ET as EngineTypes>::FontSystem: UnwindSafe,
<ET as EngineTypes>::Mouth: UnwindSafe,
<ET as EngineTypes>::Gullet: UnwindSafe,
<ET as EngineTypes>::Stomach: UnwindSafe,
<ET as EngineTypes>::ErrorHandler: UnwindSafe,
<ET as EngineTypes>::Outputs: UnwindSafe,
<ET as EngineTypes>::Extension: UnwindSafe,
<<ET as EngineTypes>::CSName as CSName<<ET as EngineTypes>::Char>>::Handler: UnwindSafe,
<ET as EngineTypes>::Token: UnwindSafe,
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
ยงimpl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
ยงfn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.ยงfn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.ยงfn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Anyโs vtable from &Traitโs.ยงfn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Anyโs vtable from &mut Traitโs.ยงimpl<T> DowncastSend for T
impl<T> DowncastSend for T
ยงimpl<T> DowncastSync for T
impl<T> DowncastSync for T
ยงimpl<E, T, Request, Encoding> FromReq<Patch<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, T, Request, Encoding> FromReq<Patch<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<E, T, Request, Encoding> FromReq<Post<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, T, Request, Encoding> FromReq<Post<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<E, T, Request, Encoding> FromReq<Put<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, T, Request, Encoding> FromReq<Put<Encoding>, Request, E> for Twhere
Request: Req<E> + Send + 'static,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<E, Encoding, Response, T> FromRes<Patch<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, Encoding, Response, T> FromRes<Patch<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<E, Encoding, Response, T> FromRes<Post<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, Encoding, Response, T> FromRes<Post<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<E, Encoding, Response, T> FromRes<Put<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
impl<E, Encoding, Response, T> FromRes<Put<Encoding>, Response, E> for Twhere
Response: ClientRes<E> + Send,
Encoding: Decodes<T>,
E: FromServerFnError,
ยงimpl<T> Instrument for T
impl<T> Instrument for T
ยงfn instrument(self, span: Span) -> Instrumented<Self> โ
fn instrument(self, span: Span) -> Instrumented<Self> โ
ยงfn in_current_span(self) -> Instrumented<Self> โ
fn in_current_span(self) -> Instrumented<Self> โ
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 moreSourceยงimpl<ET, Err, A> IntoErr<ET, Err> for Awhere
ET: EngineTypes,
Err: From<A>,
impl<ET, Err, A> IntoErr<ET, Err> for Awhere
ET: EngineTypes,
Err: From<A>,
ยงimpl<E, T, Encoding, Request> IntoReq<Patch<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
impl<E, T, Encoding, Request> IntoReq<Patch<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
ยงimpl<E, T, Encoding, Request> IntoReq<Post<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
impl<E, T, Encoding, Request> IntoReq<Post<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
ยงimpl<E, T, Encoding, Request> IntoReq<Put<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
impl<E, T, Encoding, Request> IntoReq<Put<Encoding>, Request, E> for Twhere
Request: ClientReq<E>,
Encoding: Encodes<T>,
E: FromServerFnError,
ยงimpl<E, Response, Encoding, T> IntoRes<Patch<Encoding>, Response, E> for T
impl<E, Response, Encoding, T> IntoRes<Patch<Encoding>, Response, E> for T
ยงimpl<E, Response, Encoding, T> IntoRes<Post<Encoding>, Response, E> for T
impl<E, Response, Encoding, T> IntoRes<Post<Encoding>, Response, E> for T
ยงimpl<E, Response, Encoding, T> IntoRes<Put<Encoding>, Response, E> for T
impl<E, Response, Encoding, T> IntoRes<Put<Encoding>, Response, E> for T
ยงimpl<D> OwoColorize for D
impl<D> OwoColorize for D
ยงfn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Set the foreground color generically Read more
ยงfn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Set the background color generically. Read more
ยงfn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Change the background color to magenta
ยงfn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Change the foreground color to the terminal default
ยงfn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Change the background color to the terminal default
ยงfn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Change the foreground color to bright black
ยงfn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Change the background color to bright black
ยงfn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Change the foreground color to bright red
ยงfn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Change the background color to bright red
ยงfn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Change the foreground color to bright green
ยงfn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Change the background color to bright green
ยงfn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Change the foreground color to bright yellow
ยงfn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Change the background color to bright yellow
ยงfn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Change the foreground color to bright blue
ยงfn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Change the background color to bright blue
ยงfn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright magenta
ยงfn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright magenta
ยงfn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright purple
ยงfn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright purple
ยงfn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Change the foreground color to bright cyan
ยงfn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Change the background color to bright cyan
ยงfn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Change the foreground color to bright white
ยงfn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Change the background color to bright white
ยงfn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Make the text blink (but fast!)
Hide the text
ยงfn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Cross out the text
ยงfn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either [
OwoColorize::fg] or
a color-specific method, such as [OwoColorize::green], Read moreยงfn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either [
OwoColorize::bg] or
a color-specific method, such as [OwoColorize::on_yellow], Read moreยงfn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the foreground color to a specific RGB value.
ยงfn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self,
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the background color to a specific RGB value.
ยงfn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Sets the foreground color to an RGB value.
ยงfn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
Sets the background color to an RGB value.
ยงfn if_supports_color<'a, Out, ApplyFn>(
&'a self,
stream: impl Into<Stream>,
apply: ApplyFn,
) -> SupportsColorsDisplay<'a, Self, Out, ApplyFn>where
ApplyFn: Fn(&'a Self) -> Out,
fn if_supports_color<'a, Out, ApplyFn>(
&'a self,
stream: impl Into<Stream>,
apply: ApplyFn,
) -> SupportsColorsDisplay<'a, Self, Out, ApplyFn>where
ApplyFn: Fn(&'a Self) -> Out,
Available on crate feature
supports-colors only.Apply a given transformation function to all formatters if the given stream
supports at least basic ANSI colors, allowing you to conditionally apply
given styles/colors. Read more
ยงimpl<T> Pointable for T
impl<T> Pointable for T
ยงimpl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Sourceยงimpl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Sourceยงfn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().ยงimpl<T> SerializableKey for T
impl<T> SerializableKey for T
ยงimpl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
ยงfn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
ยงfn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.