Docs.rs
bitrouter-core-0.2.4
bitrouter-core 0.2.4
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
takasaki404
Dependencies
dynosaur ^0.3.0
normal
futures-core ^0.3
normal
http ^1.4.0
normal
regex ^1.12
normal
schemars ^1.2
normal
serde_json ^1.0
normal
thiserror ^2.0
normal
tokio-util ^0.7
normal
Versions
56.86%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
DynImageModel
bitrouter_
core
0.2.4
DynImage
Model
Methods
from_box
from_mut
from_ref
new_arc
new_box
new_rc
Trait Implementations
ImageModel
Auto Trait Implementations
!Freeze
!RefUnwindSafe
!Sized
!Unpin
!UnsafeUnpin
!UnwindSafe
Send
Sync
Blanket Implementations
Any
Borrow<T>
BorrowMut<T>
In bitrouter_
core::
models::
image::
image_
model
bitrouter_core
::
models
::
image
::
image_model
Struct
DynImage
Model
Copy item path
Source
pub struct DynImageModel<'dynosaur_struct> {
/* private fields */
}
Implementations
§
Source
§
impl<'dynosaur_struct>
DynImageModel
<'dynosaur_struct>
Source
pub fn
new_box
( value: impl
ImageModel
+ 'dynosaur_struct, ) ->
Box
<
DynImageModel
<'dynosaur_struct>>
Source
pub fn
new_arc
( value: impl
ImageModel
+ 'dynosaur_struct, ) ->
Arc
<
DynImageModel
<'dynosaur_struct>>
Source
pub fn
new_rc
( value: impl
ImageModel
+ 'dynosaur_struct, ) ->
Rc
<
DynImageModel
<'dynosaur_struct>>
Source
pub const fn
from_box
( value:
Box
<impl
ImageModel
+ 'dynosaur_struct>, ) ->
Box
<
DynImageModel
<'dynosaur_struct>>
Source
pub const fn
from_ref
( value: &(impl
ImageModel
+ 'dynosaur_struct), ) -> &
DynImageModel
<'dynosaur_struct>
Source
pub const fn
from_mut
( value: &mut (impl
ImageModel
+ 'dynosaur_struct), ) -> &mut
DynImageModel
<'dynosaur_struct>
Trait Implementations
§
Source
§
impl<'dynosaur_struct>
ImageModel
for
DynImageModel
<'dynosaur_struct>
Source
§
fn
provider_name
(&self) -> &
str
Source
§
fn
model_id
(&self) -> &
str
Source
§
fn
max_images_per_call
(&self) -> impl
Future
<Output =
Option
<
u32
>> +
Send
Source
§
fn
generate
( &self, options:
ImageModelCallOptions
, ) -> impl
Future
<Output =
ImageModelGenerationResult
> +
Send
Auto Trait Implementations
§
§
impl<'dynosaur_struct> !
Freeze
for
DynImageModel
<'dynosaur_struct>
§
impl<'dynosaur_struct> !
RefUnwindSafe
for
DynImageModel
<'dynosaur_struct>
§
impl<'dynosaur_struct>
Send
for
DynImageModel
<'dynosaur_struct>
§
impl<'dynosaur_struct> !
Sized
for
DynImageModel
<'dynosaur_struct>
§
impl<'dynosaur_struct>
Sync
for
DynImageModel
<'dynosaur_struct>
§
impl<'dynosaur_struct> !
Unpin
for
DynImageModel
<'dynosaur_struct>
§
impl<'dynosaur_struct> !
UnsafeUnpin
for
DynImageModel
<'dynosaur_struct>
§
impl<'dynosaur_struct> !
UnwindSafe
for
DynImageModel
<'dynosaur_struct>
Blanket Implementations
§
Source
§
impl<T>
Any
for T
where T: 'static + ?
Sized
,
Source
§
fn
type_id
(&self) ->
TypeId
Gets the
TypeId
of
self
.
Read more
Source
§
impl<T>
Borrow
<T> for T
where T: ?
Sized
,
Source
§
fn
borrow
(&self) ->
&T
Immutably borrows from an owned value.
Read more
Source
§
impl<T>
BorrowMut
<T> for T
where T: ?
Sized
,
Source
§
fn
borrow_mut
(&mut self) ->
&mut T
Mutably borrows from an owned value.
Read more