pub struct ImageOptions {
pub content: Option<Vec<Content>>,
pub size: Option<[u32; 2]>,
pub group: Option<Group>,
}Expand description
The options argument of generate_image.
Fields§
§content: Option<Vec<Content>>§size: Option<[u32; 2]>§group: Option<Group>Trait Implementations§
Source§impl Clone for ImageOptions
impl Clone for ImageOptions
Source§impl Debug for ImageOptions
impl Debug for ImageOptions
Auto Trait Implementations§
impl Forget for ImageOptions
impl Freeze for ImageOptionswhere
*const u8 is !null: Freeze,
PhantomData<Content>: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
PhantomData<String>: Freeze,
PhantomData<GroupRef>: Freeze,
PhantomData<GroupMember>: Freeze,
impl Move for ImageOptions
impl RefUnwindSafe for ImageOptions
impl Send for ImageOptions
impl Sync for ImageOptions
impl Unpin for ImageOptions
impl UnsafeUnpin for ImageOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Content>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GroupRef>: UnsafeUnpin,
PhantomData<GroupMember>: UnsafeUnpin,
impl UnwindSafe for ImageOptions
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