Struct xrl::Client [] [src]

pub struct Client(pub Client);

A client to send notifications and request to the core

Methods

impl Client
[src]

[src]

Send a notification to the core. Most (if not all) notifications supported by the core are already implemented, so this method should not be necessary in most cases.

[src]

Send a request to the core. Most (if not all) notifications supported by the core are already implemented, so this method should not be necessary in most cases.

[src]

Send an "scroll" notification {"method":"edit","params":{"method":"scroll","params":[21,80],"view_id":"view-id-1"}}

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

send a "new_view" request to the core. {"id":1,"method":"new_view","params":{"file_path":"foo/test.txt"}}

[src]

send a "close_view" notifycation to the core.

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for Client
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more