pub struct LoaderBuilder { /* private fields */ }Expand description
A builder-pattern type to construct Loader objects.
Implementations§
Source§impl LoaderBuilder
impl LoaderBuilder
pub fn apply_transformation(self, apply_transformation: bool) -> Self
pub fn bytes(self, bytes: &Bytes) -> Self
pub fn cancellable(self, cancellable: &impl IsA<Cancellable>) -> Self
pub fn file(self, file: &impl IsA<File>) -> Self
pub fn memory_format_selection( self, memory_format_selection: MemoryFormatSelection, ) -> Self
pub fn sandbox_selector(self, sandbox_selector: SandboxSelector) -> Self
pub fn stream(self, stream: &impl IsA<InputStream>) -> Self
Auto Trait Implementations§
impl Freeze for LoaderBuilder
impl RefUnwindSafe for LoaderBuilder
impl !Send for LoaderBuilder
impl !Sync for LoaderBuilder
impl Unpin for LoaderBuilder
impl UnsafeUnpin for LoaderBuilder
impl UnwindSafe for LoaderBuilder
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