pub struct AiContextWindow { /* private fields */ }Implementations§
Source§impl AiContextWindow
impl AiContextWindow
pub const fn new(size: AiContextWindowSize) -> Self
pub const fn size(self) -> AiContextWindowSize
Trait Implementations§
Source§impl Clone for AiContextWindow
impl Clone for AiContextWindow
Source§fn clone(&self) -> AiContextWindow
fn clone(&self) -> AiContextWindow
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 moreSource§impl Debug for AiContextWindow
impl Debug for AiContextWindow
Source§impl Hash for AiContextWindow
impl Hash for AiContextWindow
Source§impl Ord for AiContextWindow
impl Ord for AiContextWindow
Source§fn cmp(&self, other: &AiContextWindow) -> Ordering
fn cmp(&self, other: &AiContextWindow) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AiContextWindow
impl PartialEq for AiContextWindow
Source§fn eq(&self, other: &AiContextWindow) -> bool
fn eq(&self, other: &AiContextWindow) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AiContextWindow
impl PartialOrd for AiContextWindow
impl Copy for AiContextWindow
impl Eq for AiContextWindow
impl StructuralPartialEq for AiContextWindow
Auto Trait Implementations§
impl Freeze for AiContextWindow
impl RefUnwindSafe for AiContextWindow
impl Send for AiContextWindow
impl Sync for AiContextWindow
impl Unpin for AiContextWindow
impl UnsafeUnpin for AiContextWindow
impl UnwindSafe for AiContextWindow
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