pub struct QueryCursor {
pub offset: usize,
pub generation: Option<WorkspaceGeneration>,
}Fields§
§offset: usize§generation: Option<WorkspaceGeneration>Implementations§
Source§impl QueryCursor
impl QueryCursor
pub fn new(offset: usize, generation: Option<WorkspaceGeneration>) -> Self
Trait Implementations§
Source§impl Clone for QueryCursor
impl Clone for QueryCursor
Source§fn clone(&self) -> QueryCursor
fn clone(&self) -> QueryCursor
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 QueryCursor
impl Debug for QueryCursor
Source§impl<'de> Deserialize<'de> for QueryCursor
impl<'de> Deserialize<'de> for QueryCursor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for QueryCursor
Source§impl PartialEq for QueryCursor
impl PartialEq for QueryCursor
Source§impl Serialize for QueryCursor
impl Serialize for QueryCursor
impl StructuralPartialEq for QueryCursor
Auto Trait Implementations§
impl Freeze for QueryCursor
impl RefUnwindSafe for QueryCursor
impl Send for QueryCursor
impl Sync for QueryCursor
impl Unpin for QueryCursor
impl UnsafeUnpin for QueryCursor
impl UnwindSafe for QueryCursor
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