pub struct PromptImageResizeLimits {
pub max_dimension: u32,
pub max_patches: usize,
}Fields§
§max_dimension: u32§max_patches: usizeTrait Implementations§
Source§impl Clone for PromptImageResizeLimits
impl Clone for PromptImageResizeLimits
Source§fn clone(&self) -> PromptImageResizeLimits
fn clone(&self) -> PromptImageResizeLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PromptImageResizeLimits
Source§impl Debug for PromptImageResizeLimits
impl Debug for PromptImageResizeLimits
impl Eq for PromptImageResizeLimits
Source§impl Hash for PromptImageResizeLimits
impl Hash for PromptImageResizeLimits
Source§impl PartialEq for PromptImageResizeLimits
impl PartialEq for PromptImageResizeLimits
impl StructuralPartialEq for PromptImageResizeLimits
Auto Trait Implementations§
impl Freeze for PromptImageResizeLimits
impl RefUnwindSafe for PromptImageResizeLimits
impl Send for PromptImageResizeLimits
impl Sync for PromptImageResizeLimits
impl Unpin for PromptImageResizeLimits
impl UnsafeUnpin for PromptImageResizeLimits
impl UnwindSafe for PromptImageResizeLimits
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.